#F5DF66#F5DF66
#F5DF66 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.142 H 99.1°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).
Color values
| HEX | #F5DF66 |
|---|---|
| RGB | rgb(245, 223, 102) |
| HSL | hsl(51, 88%, 68%) |
| HSV | hsv(51, 58%, 96%) |
| CMYK | cmyk(0%, 9%, 58.4%, 3.9%) |
| CIE-LAB | lab(88.52, -6.76, 60.77) |
| CIE-LCH | lch(88.52, 61.15, 96.35°) |
| OKLab | oklab(89.87% -0.0225 0.1405) |
| OKLCH | oklch(89.87% 0.142 99.1) |
| XYZ | xyz(66.4447, 73.1499, 23.1872) |
| Luminance | 0.7315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.45
Dull Yellow
#EEDC5B
ΔE00 1.63
Yellow Tan
#FFE36E
ΔE00 2.02
Pale Gold
#FDDE6C
ΔE00 2.62
Light Gold
#FDDC5C
ΔE00 2.95
Sandy
#F1DA7A
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5DF66 #667CF5
analogous
#F59766 #F5DF66 #C4F566
triadic
#F5DF66 #66F5DF #DF66F5
tetradic
#F5DF66 #66F597 #667CF5 #F566C4
square
#F5DF66 #66F597 #667CF5 #F566C4
split-complementary
#F5DF66 #66C4F5 #9766F5
monochromatic
#D3B50E #F1D32D #F5DF66 #F9EB9F #FDF7D9
Accessibility & contrast
On white
1.34
#F5DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.63
#F5DF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5DF66
15.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5DF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5DF66 | 1.00 | 1.34 | 15.63 | 15.63 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA59
Deuteranopia (green-blind)
#F8E26C
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f5df66; /* rgb */ color: rgb(245, 223, 102); /* oklch */ color: oklch(89.9% 0.142 99.1);
Tailwind
colors: {
custom: {
50: '#fbe896',
500: '#f5df66',
950: '#000000',
},
}SCSS
$custom: #f5df66; $custom-light: #fbe896; $custom-dark: #000000;
JSON
{
"hex": "#f5df66",
"rgb": {
"r": 245,
"g": 223,
"b": 102
},
"hsl": {
"h": 50.769,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.89873,
"c": 0.14225,
"h": 99.1
},
"luminance": 0.73147
}Semantic roles & 50–950 ramp
primary
#F5DF66
secondary
#3149CE
accent
#24E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F