#F5E489#F5E489
#F5E489 is a very light, moderate yellow. Relative luminance 0.767; OKLCH L 91.3% C 0.113 H 99.0°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F5E489 |
|---|---|
| RGB | rgb(245, 228, 137) |
| HSL | hsl(51, 84%, 75%) |
| HSV | hsv(51, 44%, 96%) |
| CMYK | cmyk(0%, 6.9%, 44.1%, 3.9%) |
| CIE-LAB | lab(90.19, -6.35, 46.36) |
| CIE-LCH | lch(90.19, 46.79, 97.80°) |
| OKLab | oklab(91.32% -0.0177 0.112) |
| OKLCH | oklch(91.32% 0.113 99) |
| XYZ | xyz(69.9167, 76.7077, 34.7852) |
| Luminance | 0.7671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 1.94
Sandy
#F1DA7A
ΔE00 2.73
Dark Cream
#FFF39A
ΔE00 3.35
Wheat (survey)
#FBDD7E
ΔE00 3.77
Buff
#FEF69E
ΔE00 4.33
Yellow Tan
#FFE36E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5E489 #899AF5
analogous
#F5AE89 #F5E489 #D0F589
triadic
#F5E489 #89F5E4 #E489F5
tetradic
#F5E489 #89F5AE #899AF5 #F589D0
square
#F5E489 #89F5AE #899AF5 #F589D0
split-complementary
#F5E489 #89D0F5 #AE89F5
monochromatic
#EBCA18 #F0D751 #F5E489 #FAF1C1 #FDF9E3
Accessibility & contrast
On white
1.29
#F5E489 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.34
#F5E489 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5E489
16.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5E489 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5E489 | 1.00 | 1.29 | 16.34 | 16.34 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DF82
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f5e489; /* rgb */ color: rgb(245, 228, 137); /* oklch */ color: oklch(91.3% 0.113 99.0);
Tailwind
colors: {
custom: {
50: '#faecad',
500: '#f5e489',
950: '#000000',
},
}SCSS
$custom: #f5e489; $custom-light: #faecad; $custom-dark: #000000;
JSON
{
"hex": "#f5e489",
"rgb": {
"r": 245,
"g": 228,
"b": 137
},
"hsl": {
"h": 50.556,
"s": 84.375,
"l": 74.902
},
"oklch": {
"l": 0.91322,
"c": 0.1134,
"h": 99
},
"luminance": 0.76705
}Semantic roles & 50–950 ramp
primary
#F5E489
secondary
#5065D2
accent
#27E105
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481