#F5DF6D#F5DF6D
#F5DF6D is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 90.0% C 0.136 H 98.6°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).
Color values
| HEX | #F5DF6D |
|---|---|
| RGB | rgb(245, 223, 109) |
| HSL | hsl(50, 87%, 69%) |
| HSV | hsv(50, 56%, 96%) |
| CMYK | cmyk(0%, 9%, 55.5%, 3.9%) |
| CIE-LAB | lab(88.59, -6.25, 57.70) |
| CIE-LCH | lch(88.59, 58.04, 96.18°) |
| OKLab | oklab(89.95% -0.0203 0.1347) |
| OKLCH | oklch(89.95% 0.136 98.6) |
| XYZ | xyz(66.8066, 73.2947, 25.0933) |
| Luminance | 0.7329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.73
Yellow Tan
#FFE36E
ΔE00 1.92
Dull Yellow
#EEDC5B
ΔE00 2.25
Pale Gold
#FDDE6C
ΔE00 2.41
Sandy
#F1DA7A
ΔE00 2.65
Light Gold
#FDDC5C
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5DF6D #6D83F5
analogous
#F59B6D #F5DF6D #C7F56D
triadic
#F5DF6D #6DF5DF #DF6DF5
tetradic
#F5DF6D #6DF59B #6D83F5 #F56DC7
square
#F5DF6D #6DF59B #6D83F5 #F56DC7
split-complementary
#F5DF6D #6DC7F5 #9B6DF5
monochromatic
#D9B80F #F1D234 #F5DF6D #F9ECA6 #FDF8E0
Accessibility & contrast
On white
1.34
#F5DF6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.66
#F5DF6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5DF6D
15.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5DF6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5DF6D | 1.00 | 1.34 | 15.66 | 15.66 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA62
Deuteranopia (green-blind)
#F8E272
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f5df6d; /* rgb */ color: rgb(245, 223, 109); /* oklch */ color: oklch(90.0% 0.136 98.6);
Tailwind
colors: {
custom: {
50: '#fbe89a',
500: '#f5df6d',
950: '#000000',
},
}SCSS
$custom: #f5df6d; $custom-light: #fbe89a; $custom-dark: #000000;
JSON
{
"hex": "#f5df6d",
"rgb": {
"r": 245,
"g": 223,
"b": 109
},
"hsl": {
"h": 50.294,
"s": 87.179,
"l": 69.412
},
"oklch": {
"l": 0.8995,
"c": 0.13619,
"h": 98.6
},
"luminance": 0.73292
}Semantic roles & 50–950 ramp
primary
#F5DF6D
secondary
#3750CF
accent
#26E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F