#F5DF78#F5DF78
#F5DF78 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 90.1% C 0.126 H 97.5°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F5DF78 |
|---|---|
| RGB | rgb(245, 223, 120) |
| HSL | hsl(49, 86%, 72%) |
| HSV | hsv(49, 51%, 96%) |
| CMYK | cmyk(0%, 9%, 51%, 3.9%) |
| CIE-LAB | lab(88.71, -5.37, 52.73) |
| CIE-LCH | lch(88.71, 53.00, 95.82°) |
| OKLab | oklab(90.08% -0.0165 0.1249) |
| OKLCH | oklch(90.08% 0.126 97.5) |
| XYZ | xyz(67.4362, 73.5466, 28.4094) |
| Luminance | 0.7354 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.47
Yellow Tan
#FFE36E
ΔE00 2.50
Wheat (survey)
#FBDD7E
ΔE00 2.65
Pale Gold
#FDDE6C
ΔE00 2.69
Sand Yellow
#FCE166
ΔE00 2.80
Dull Yellow
#EEDC5B
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5DF78 #788EF5
analogous
#F5A178 #F5DF78 #CDF578
triadic
#F5DF78 #78F5DF #DF78F5
tetradic
#F5DF78 #78F5A1 #788EF5 #F578CD
square
#F5DF78 #78F5A1 #788EF5 #F578CD
split-complementary
#F5DF78 #78CDF5 #A178F5
monochromatic
#E2BD11 #F1D13F #F5DF78 #F9EDB1 #FDF8E3
Accessibility & contrast
On white
1.34
#F5DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.71
#F5DF78 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5DF78
15.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5DF78 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5DF78 | 1.00 | 1.34 | 15.71 | 15.71 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA6F
Deuteranopia (green-blind)
#F7E27C
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f5df78; /* rgb */ color: rgb(245, 223, 120); /* oklch */ color: oklch(90.1% 0.126 97.5);
Tailwind
colors: {
custom: {
50: '#fbe8a1',
500: '#f5df78',
950: '#000000',
},
}SCSS
$custom: #f5df78; $custom-light: #fbe8a1; $custom-dark: #000000;
JSON
{
"hex": "#f5df78",
"rgb": {
"r": 245,
"g": 223,
"b": 120
},
"hsl": {
"h": 49.44,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.90083,
"c": 0.12601,
"h": 97.5
},
"luminance": 0.73544
}Semantic roles & 50–950 ramp
primary
#F5DF78
secondary
#415AD0
accent
#2AE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480