#F7D154#F7D154
#F7D154 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.1% C 0.146 H 92.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D154 |
|---|---|
| RGB | rgb(247, 209, 84) |
| HSL | hsl(46, 91%, 65%) |
| HSV | hsv(46, 66%, 97%) |
| CMYK | cmyk(0%, 15.4%, 66%, 3.1%) |
| CIE-LAB | lab(85.01, 0.03, 64.74) |
| CIE-LCH | lch(85.01, 64.74, 89.97°) |
| OKLab | oklab(87.09% -0.0052 0.1464) |
| OKLCH | oklch(87.09% 0.146 92) |
| XYZ | xyz(62.7616, 66.0187, 17.8229) |
| Luminance | 0.6602 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.60
Light Mustard
#F7D560
ΔE00 1.52
Light Gold
#FDDC5C
ΔE00 2.73
Pale Gold
#FDDE6C
ΔE00 3.47
Sand Yellow
#FCE166
ΔE00 4.37
Yellow Tan
#FFE36E
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D154 #547AF7
analogous
#F77F54 #F7D154 #CCF754
triadic
#F7D154 #54F7D1 #D154F7
tetradic
#F7D154 #54F77F #547AF7 #F754CC
square
#F7D154 #54F77F #547AF7 #F754CC
split-complementary
#F7D154 #54CCF7 #7F54F7
monochromatic
#C79B09 #F4C11A #F7D154 #FAE18E #FCF0C9
Accessibility & contrast
On white
1.48
#F7D154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.20
#F7D154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D154
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D154 | 1.00 | 1.48 | 14.20 | 14.20 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f7d154; /* rgb */ color: rgb(247, 209, 84); /* oklch */ color: oklch(87.1% 0.146 92.0);
Tailwind
colors: {
custom: {
50: '#fede8a',
500: '#f7d154',
950: '#000000',
},
}SCSS
$custom: #f7d154; $custom-light: #fede8a; $custom-dark: #000000;
JSON
{
"hex": "#f7d154",
"rgb": {
"r": 247,
"g": 209,
"b": 84
},
"hsl": {
"h": 46.012,
"s": 91.061,
"l": 64.902
},
"oklch": {
"l": 0.87085,
"c": 0.14646,
"h": 92
},
"luminance": 0.66015
}Semantic roles & 50–950 ramp
primary
#F7D154
secondary
#2B4FC4
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F