#F5DF71#F5DF71
#F5DF71 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.133 H 98.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).
Color values
| HEX | #F5DF71 |
|---|---|
| RGB | rgb(245, 223, 113) |
| HSL | hsl(50, 87%, 70%) |
| HSV | hsv(50, 54%, 96%) |
| CMYK | cmyk(0%, 9%, 53.9%, 3.9%) |
| CIE-LAB | lab(88.63, -5.94, 55.92) |
| CIE-LCH | lch(88.63, 56.23, 96.07°) |
| OKLab | oklab(90% -0.0189 0.1312) |
| OKLCH | oklch(90% 0.133 98.2) |
| XYZ | xyz(67.0269, 73.3828, 26.2533) |
| Luminance | 0.7338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.03
Sand Yellow
#FCE166
ΔE00 2.06
Sandy
#F1DA7A
ΔE00 2.20
Pale Gold
#FDDE6C
ΔE00 2.42
Dull Yellow
#EEDC5B
ΔE00 2.69
Wheat (survey)
#FBDD7E
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5DF71 #7187F5
analogous
#F59D71 #F5DF71 #C9F571
triadic
#F5DF71 #71F5DF #DF71F5
tetradic
#F5DF71 #71F59D #7187F5 #F571C9
square
#F5DF71 #71F59D #7187F5 #F571C9
split-complementary
#F5DF71 #71C9F5 #9D71F5
monochromatic
#DCBA10 #F1D238 #F5DF71 #F9ECAA #FDF9E2
Accessibility & contrast
On white
1.34
#F5DF71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.68
#F5DF71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5DF71
15.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5DF71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5DF71 | 1.00 | 1.34 | 15.68 | 15.68 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA67
Deuteranopia (green-blind)
#F7E276
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f5df71; /* rgb */ color: rgb(245, 223, 113); /* oklch */ color: oklch(90.0% 0.133 98.2);
Tailwind
colors: {
custom: {
50: '#fbe89d',
500: '#f5df71',
950: '#000000',
},
}SCSS
$custom: #f5df71; $custom-light: #fbe89d; $custom-dark: #000000;
JSON
{
"hex": "#f5df71",
"rgb": {
"r": 245,
"g": 223,
"b": 113
},
"hsl": {
"h": 50,
"s": 86.842,
"l": 70.196
},
"oklch": {
"l": 0.89996,
"c": 0.13257,
"h": 98.2
},
"luminance": 0.7338
}Semantic roles & 50–950 ramp
primary
#F5DF71
secondary
#3B54CF
accent
#28E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F