#FFE251#FFE251
#FFE251 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.2% C 0.161 H 97.7°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).
Color values
| HEX | #FFE251 |
|---|---|
| RGB | rgb(255, 226, 81) |
| HSL | hsl(50, 100%, 66%) |
| HSV | hsv(50, 68%, 100%) |
| CMYK | cmyk(0%, 11.4%, 68.2%, 0%) |
| CIE-LAB | lab(89.98, -5.42, 71.31) |
| CIE-LCH | lch(89.98, 71.52, 94.35°) |
| OKLab | oklab(91.18% -0.0216 0.1595) |
| OKLCH | oklch(91.18% 0.161 97.7) |
| XYZ | xyz(69.9249, 76.2502, 18.8176) |
| Luminance | 0.7625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Banana
#FFE135
ΔE00 2.07
Sand Yellow
#FCE166
ΔE00 2.29
Light Gold
#FDDC5C
ΔE00 2.36
Yellow Tan
#FFE36E
ΔE00 3.00
Sun Yellow
#FFDF22
ΔE00 3.01
Pale Gold
#FDDE6C
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFE251 #516EFF
analogous
#FF8B51 #FFE251 #C5FF51
triadic
#FFE251 #51FFE2 #E251FF
tetradic
#FFE251 #51FF8B #516EFF #FF51C5
square
#FFE251 #51FF8B #516EFF #FF51C5
split-complementary
#FFE251 #51C5FF #8B51FF
monochromatic
#D6B200 #FFD814 #FFE251 #FFEC8E #FFF6CB
Accessibility & contrast
On white
1.29
#FFE251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.25
#FFE251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFE251
16.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFE251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFE251 | 1.00 | 1.29 | 16.25 | 16.25 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#FFE759
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #ffe251; /* rgb */ color: rgb(255, 226, 81); /* oklch */ color: oklch(91.2% 0.161 97.7);
Tailwind
colors: {
custom: {
50: '#ffea89',
500: '#ffe251',
950: '#000000',
},
}SCSS
$custom: #ffe251; $custom-light: #ffea89; $custom-dark: #000000;
JSON
{
"hex": "#ffe251",
"rgb": {
"r": 255,
"g": 226,
"b": 81
},
"hsl": {
"h": 50,
"s": 100,
"l": 65.882
},
"oklch": {
"l": 0.91177,
"c": 0.16099,
"h": 97.7
},
"luminance": 0.76247
}Semantic roles & 50–950 ramp
primary
#FFE251
secondary
#2541D0
accent
#26E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F