#F7D158#F7D158
#F7D158 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.144 H 91.6°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D158 |
|---|---|
| RGB | rgb(247, 209, 88) |
| HSL | hsl(46, 91%, 66%) |
| HSV | hsv(46, 64%, 97%) |
| CMYK | cmyk(0%, 15.4%, 64.4%, 3.1%) |
| CIE-LAB | lab(85.04, 0.26, 63.09) |
| CIE-LCH | lch(85.04, 63.09, 89.76°) |
| OKLab | oklab(87.12% -0.004 0.1435) |
| OKLCH | oklch(87.12% 0.144 91.6) |
| XYZ | xyz(62.9228, 66.0832, 18.6717) |
| Luminance | 0.6608 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.76
Light Mustard
#F7D560
ΔE00 1.36
Light Gold
#FDDC5C
ΔE00 2.84
Pale Gold
#FDDE6C
ΔE00 3.36
Sand Yellow
#FCE166
ΔE00 4.40
Wheat (survey)
#FBDD7E
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D158 #587EF7
analogous
#F78158 #F7D158 #CEF758
triadic
#F7D158 #58F7D1 #D158F7
tetradic
#F7D158 #58F781 #587EF7 #F758CE
square
#F7D158 #58F781 #587EF7 #F758CE
split-complementary
#F7D158 #58CEF7 #8158F7
monochromatic
#CB9D0A #F4C11E #F7D158 #FAE192 #FDF1CD
Accessibility & contrast
On white
1.48
#F7D158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.22
#F7D158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D158
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D158 | 1.00 | 1.48 | 14.22 | 14.22 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE4A
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f7d158; /* rgb */ color: rgb(247, 209, 88); /* oklch */ color: oklch(87.1% 0.144 91.6);
Tailwind
colors: {
custom: {
50: '#fede8c',
500: '#f7d158',
950: '#000000',
},
}SCSS
$custom: #f7d158; $custom-light: #fede8c; $custom-dark: #000000;
JSON
{
"hex": "#f7d158",
"rgb": {
"r": 247,
"g": 209,
"b": 88
},
"hsl": {
"h": 45.66,
"s": 90.857,
"l": 65.686
},
"oklch": {
"l": 0.87122,
"c": 0.14354,
"h": 91.6
},
"luminance": 0.6608
}Semantic roles & 50–950 ramp
primary
#F7D158
secondary
#2C51C7
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F