#FFCC2E#FFCC2E
#FFCC2E is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.6% C 0.167 H 89.0°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #FFCC2E |
|---|---|
| RGB | rgb(255, 204, 46) |
| HSL | hsl(45, 100%, 59%) |
| HSV | hsv(45, 82%, 100%) |
| CMYK | cmyk(0%, 20%, 82%, 0%) |
| CIE-LAB | lab(84.30, 4.38, 77.78) |
| CIE-LCH | lch(84.30, 77.90, 86.78°) |
| OKLab | oklab(86.63% 0.0029 0.1667) |
| OKLCH | oklch(86.63% 0.167 89) |
| XYZ | xyz(63.3300, 64.6473, 11.7268) |
| Luminance | 0.6464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Golden Yellow
#FEC615
ΔE00 1.80
Sunflower
#FFC512
ΔE00 2.23
Goldenrod (survey)
#FAC205
ΔE00 2.59
Golden
#F5BF03
ΔE00 3.15
Marigold
#FCC006
ΔE00 3.36
Amber
#FFBF00
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFCC2E #2E61FF
analogous
#FF642E #FFCC2E #C9FF2E
triadic
#FFCC2E #2EFFCC #CC2EFF
tetradic
#FFCC2E #2EFF64 #2E61FF #FF2EC9
square
#FFCC2E #2EFF64 #2E61FF #FF2EC9
split-complementary
#FFCC2E #2EC9FF #642EFF
monochromatic
#B38700 #F0B500 #FFCC2E #FFDB6B #FFEAA8
Accessibility & contrast
On white
1.51
#FFCC2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#FFCC2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFCC2E
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFCC2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFCC2E | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#F1D839
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #ffcc2e; /* rgb */ color: rgb(255, 204, 46); /* oklch */ color: oklch(86.6% 0.167 89.0);
Tailwind
colors: {
custom: {
50: '#ffdb76',
500: '#ffcc2e',
950: '#000000',
},
}SCSS
$custom: #ffcc2e; $custom-light: #ffdb76; $custom-dark: #000000;
JSON
{
"hex": "#ffcc2e",
"rgb": {
"r": 255,
"g": 204,
"b": 46
},
"hsl": {
"h": 45.359,
"s": 100,
"l": 59.02
},
"oklch": {
"l": 0.86634,
"c": 0.16673,
"h": 89
},
"luminance": 0.64643
}Semantic roles & 50–950 ramp
primary
#FFCC2E
secondary
#1F43B2
accent
#5DFF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#191409
muted
#87837D