#F5E080#F5E080
#F5E080 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.119 H 97.3°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).
Color values
| HEX | #F5E080 |
|---|---|
| RGB | rgb(245, 224, 128) |
| HSL | hsl(49, 85%, 73%) |
| HSV | hsv(49, 48%, 96%) |
| CMYK | cmyk(0%, 8.6%, 47.8%, 3.9%) |
| CIE-LAB | lab(89.06, -5.18, 49.33) |
| CIE-LCH | lch(89.06, 49.60, 95.99°) |
| OKLab | oklab(90.39% -0.0151 0.1181) |
| OKLCH | oklch(90.39% 0.119 97.3) |
| XYZ | xyz(68.2101, 74.2849, 31.1633) |
| Luminance | 0.7428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.39
Wheat (survey)
#FBDD7E
ΔE00 2.56
Khaki (CSS)
#F0E68C
ΔE00 3.29
Yellow Tan
#FFE36E
ΔE00 3.32
Pale Gold
#FDDE6C
ΔE00 3.45
Sand Yellow
#FCE166
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5E080 #8095F5
analogous
#F5A580 #F5E080 #CFF580
triadic
#F5E080 #80F5E0 #E080F5
tetradic
#F5E080 #80F5A5 #8095F5 #F580CF
square
#F5E080 #80F5A5 #8095F5 #F580CF
split-complementary
#F5E080 #80CFF5 #A580F5
monochromatic
#E8C212 #F1D247 #F5E080 #F9EEB9 #FDF8E3
Accessibility & contrast
On white
1.32
#F5E080 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.86
#F5E080 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5E080
15.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5E080 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5E080 | 1.00 | 1.32 | 15.86 | 15.86 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DC78
Deuteranopia (green-blind)
#F7E384
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #f5e080; /* rgb */ color: rgb(245, 224, 128); /* oklch */ color: oklch(90.4% 0.119 97.3);
Tailwind
colors: {
custom: {
50: '#fae9a6',
500: '#f5e080',
950: '#000000',
},
}SCSS
$custom: #f5e080; $custom-light: #fae9a6; $custom-dark: #000000;
JSON
{
"hex": "#f5e080",
"rgb": {
"r": 245,
"g": 224,
"b": 128
},
"hsl": {
"h": 49.231,
"s": 85.401,
"l": 73.137
},
"oklch": {
"l": 0.9039,
"c": 0.11902,
"h": 97.3
},
"luminance": 0.74282
}Semantic roles & 50–950 ramp
primary
#F5E080
secondary
#4861D1
accent
#2CE204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480