#F7D258#F7D258
#F7D258 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.3% C 0.144 H 92.2°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D258 |
|---|---|
| RGB | rgb(247, 210, 88) |
| HSL | hsl(46, 91%, 66%) |
| HSV | hsv(46, 64%, 97%) |
| CMYK | cmyk(0%, 15%, 64.4%, 3.1%) |
| CIE-LAB | lab(85.29, -0.25, 63.36) |
| CIE-LCH | lch(85.29, 63.36, 90.23°) |
| OKLab | oklab(87.32% -0.0055 0.1441) |
| OKLCH | oklch(87.32% 0.144 92.2) |
| XYZ | xyz(63.1689, 66.5754, 18.7537) |
| Luminance | 0.6657 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.63
Light Mustard
#F7D560
ΔE00 1.09
Light Gold
#FDDC5C
ΔE00 2.51
Pale Gold
#FDDE6C
ΔE00 3.09
Sand Yellow
#FCE166
ΔE00 4.06
Yellow Tan
#FFE36E
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D258 #587DF7
analogous
#F78258 #F7D258 #CCF758
triadic
#F7D258 #58F7D2 #D258F7
tetradic
#F7D258 #58F782 #587DF7 #F758CC
square
#F7D258 #58F782 #587DF7 #F758CC
split-complementary
#F7D258 #58CCF7 #8258F7
monochromatic
#CB9E0A #F4C21E #F7D258 #FAE292 #FDF1CD
Accessibility & contrast
On white
1.47
#F7D258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.31
#F7D258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D258
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D258 | 1.00 | 1.47 | 14.31 | 14.31 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#F0DA5E
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f7d258; /* rgb */ color: rgb(247, 210, 88); /* oklch */ color: oklch(87.3% 0.144 92.2);
Tailwind
colors: {
custom: {
50: '#fedf8c',
500: '#f7d258',
950: '#000000',
},
}SCSS
$custom: #f7d258; $custom-light: #fedf8c; $custom-dark: #000000;
JSON
{
"hex": "#f7d258",
"rgb": {
"r": 247,
"g": 210,
"b": 88
},
"hsl": {
"h": 46.038,
"s": 90.857,
"l": 65.686
},
"oklch": {
"l": 0.87319,
"c": 0.14416,
"h": 92.2
},
"luminance": 0.66572
}Semantic roles & 50–950 ramp
primary
#F7D258
secondary
#2C50C7
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F