#FFCB2B

#ffcb2b ≈ Sunglow

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ffcb2b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 79.61% green and 16.86% blue; printed in CMYK it uses 0% cyan, 20.39% magenta, 83.14% yellow and 0% black. Its hue angle is 45.28°, with 100% saturation and 58.43% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and call-to-action buttons. Black text on this color reaches a contrast ratio of 13.83:1 (WCAG AAA). The closest named color is Sunglow (#ffcc33), ΔE 0.5.

Description generated from the measured properties of this color.

Conversions of #ffcb2b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.6415

Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #e5cfa9 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #f1d736 ≈ 1.27% of males
Tritanopia #ffb8ae ≈ 0.0001% of males
Protanomaly #efca10 ≈ 1.08% of males
Deuteranomaly #f6d332 ≈ 4.63% of males
Tritanomaly #ffc08d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffcb2b {
  color: #ffcb2b;
}
Background
.bg-ffcb2b {
  background-color: #ffcb2b;
  color: #000000;
}
Border
.border-ffcb2b {
  border: 2px solid #ffcb2b;
}
CSS variables
:root {
  --color-primary: #ffcb2b;
  --color-primary-rgb: 255 203 43;
  --color-primary-hsl: 45 100% 58%;
}
Gradient
.gradient-ffcb2b {
  background: linear-gradient(135deg, #ffcb2b, #c9ff2b);
}
Colored shadow
.shadow-ffcb2b {
  box-shadow: 0 8px 24px rgb(255 203 43 / 0.35);
}

Sunglow
#ffcb2b  rgb(255, 203, 43)  hsl(45, 100%, 58%)  Sunglow
#2b5fff  rgb(43, 95, 255)  hsl(225, 100%, 58%)  Ultramarine Blue
#2bffcb  rgb(43, 255, 203)  hsl(165, 100%, 58%)  Aquamarine
#cb2bff  rgb(203, 43, 255)  hsl(285, 100%, 58%)  Electric Purple