#FECD2E#FECD2E
#FECD2E is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.7% C 0.167 H 89.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #FECD2E |
|---|---|
| RGB | rgb(254, 205, 46) |
| HSL | hsl(46, 99%, 59%) |
| HSV | hsv(46, 82%, 100%) |
| CMYK | cmyk(0%, 19.3%, 81.9%, 0.4%) |
| CIE-LAB | lab(84.45, 3.44, 77.87) |
| CIE-LCH | lch(84.45, 77.94, 87.47°) |
| OKLab | oklab(86.73% 0.0003 0.1669) |
| OKLCH | oklch(86.73% 0.167 89.9) |
| XYZ | xyz(63.2015, 64.9350, 11.7891) |
| Luminance | 0.6493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Golden Yellow
#FEC615
ΔE00 2.23
Sunflower
#FFC512
ΔE00 2.70
Goldenrod (survey)
#FAC205
ΔE00 2.96
Golden
#F5BF03
ΔE00 3.44
Marigold
#FCC006
ΔE00 3.81
Gold
#FFD700
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FECD2E #2E5FFE
analogous
#FE652E #FECD2E #C7FE2E
triadic
#FECD2E #2EFECD #CD2EFE
tetradic
#FECD2E #2EFE65 #2E5FFE #FE2EC7
square
#FECD2E #2EFE65 #2E5FFE #FE2EC7
split-complementary
#FECD2E #2EC7FE #652EFE
monochromatic
#B18701 #EEB601 #FECD2E #FEDC6B #FFEAA8
Accessibility & contrast
On white
1.50
#FECD2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.99
#FECD2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FECD2E
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FECD2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FECD2E | 1.00 | 1.50 | 13.99 | 13.99 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#F1D839
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #fecd2e; /* rgb */ color: rgb(254, 205, 46); /* oklch */ color: oklch(86.7% 0.167 89.9);
Tailwind
colors: {
custom: {
50: '#ffdb76',
500: '#fecd2e',
950: '#000000',
},
}SCSS
$custom: #fecd2e; $custom-light: #ffdb76; $custom-dark: #000000;
JSON
{
"hex": "#fecd2e",
"rgb": {
"r": 254,
"g": 205,
"b": 46
},
"hsl": {
"h": 45.865,
"s": 99.048,
"l": 58.824
},
"oklch": {
"l": 0.86728,
"c": 0.16695,
"h": 89.9
},
"luminance": 0.64931
}Semantic roles & 50–950 ramp
primary
#FECD2E
secondary
#2042B0
accent
#5BFF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#191409
muted
#87837D