#F5DF6F#F5DF6F
#F5DF6F is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.134 H 98.4°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F5DF6F |
|---|---|
| RGB | rgb(245, 223, 111) |
| HSL | hsl(50, 87%, 70%) |
| HSV | hsv(50, 55%, 96%) |
| CMYK | cmyk(0%, 9%, 54.7%, 3.9%) |
| CIE-LAB | lab(88.61, -6.10, 56.81) |
| CIE-LCH | lch(88.61, 57.14, 96.13°) |
| OKLab | oklab(89.97% -0.0196 0.133) |
| OKLCH | oklch(89.97% 0.134 98.4) |
| XYZ | xyz(66.9155, 73.3383, 25.6668) |
| Luminance | 0.7334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.88
Yellow Tan
#FFE36E
ΔE00 1.96
Pale Gold
#FDDE6C
ΔE00 2.40
Sandy
#F1DA7A
ΔE00 2.42
Dull Yellow
#EEDC5B
ΔE00 2.47
Light Gold
#FDDC5C
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5DF6F #6F85F5
analogous
#F59C6F #F5DF6F #C8F56F
triadic
#F5DF6F #6FF5DF #DF6FF5
tetradic
#F5DF6F #6FF59C #6F85F5 #F56FC8
square
#F5DF6F #6FF59C #6F85F5 #F56FC8
split-complementary
#F5DF6F #6FC8F5 #9C6FF5
monochromatic
#DAB90F #F1D236 #F5DF6F #F9ECA8 #FDF8E1
Accessibility & contrast
On white
1.34
#F5DF6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.67
#F5DF6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5DF6F
15.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5DF6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5DF6F | 1.00 | 1.34 | 15.67 | 15.67 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA64
Deuteranopia (green-blind)
#F7E274
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f5df6f; /* rgb */ color: rgb(245, 223, 111); /* oklch */ color: oklch(90.0% 0.134 98.4);
Tailwind
colors: {
custom: {
50: '#fbe89b',
500: '#f5df6f',
950: '#000000',
},
}SCSS
$custom: #f5df6f; $custom-light: #fbe89b; $custom-dark: #000000;
JSON
{
"hex": "#f5df6f",
"rgb": {
"r": 245,
"g": 223,
"b": 111
},
"hsl": {
"h": 50.149,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.89973,
"c": 0.13439,
"h": 98.4
},
"luminance": 0.73336
}Semantic roles & 50–950 ramp
primary
#F5DF6F
secondary
#3952CF
accent
#27E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F