#F7D959#F7D959
#F7D959 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.148 H 96.0°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D959 |
|---|---|
| RGB | rgb(247, 217, 89) |
| HSL | hsl(49, 91%, 66%) |
| HSV | hsv(49, 64%, 97%) |
| CMYK | cmyk(0%, 12.1%, 64%, 3.1%) |
| CIE-LAB | lab(87.06, -3.75, 64.83) |
| CIE-LCH | lch(87.06, 64.94, 93.31°) |
| OKLab | oklab(88.72% -0.0155 0.1473) |
| OKLCH | oklch(88.72% 0.148 96) |
| XYZ | xyz(64.9768, 70.1243, 19.5621) |
| Luminance | 0.7012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.10
Light Mustard
#F7D560
ΔE00 1.90
Sand Yellow
#FCE166
ΔE00 1.95
Pale Gold
#FDDE6C
ΔE00 2.10
Maize
#F4D054
ΔE00 2.53
Yellow Tan
#FFE36E
ΔE00 2.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D959 #5977F7
analogous
#F78A59 #F7D959 #C6F759
triadic
#F7D959 #59F7D9 #D959F7
tetradic
#F7D959 #59F78A #5977F7 #F759C6
square
#F7D959 #59F78A #5977F7 #F759C6
split-complementary
#F7D959 #59C6F7 #8A59F7
monochromatic
#CCA70A #F4CC1F #F7D959 #FAE693 #FDF4CE
Accessibility & contrast
On white
1.40
#F7D959 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#F7D959 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D959
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D959 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D959 | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED54A
Deuteranopia (green-blind)
#F5DE5F
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f7d959; /* rgb */ color: rgb(247, 217, 89); /* oklch */ color: oklch(88.7% 0.148 96.0);
Tailwind
colors: {
custom: {
50: '#fde48d',
500: '#f7d959',
950: '#000000',
},
}SCSS
$custom: #f7d959; $custom-light: #fde48d; $custom-dark: #000000;
JSON
{
"hex": "#f7d959",
"rgb": {
"r": 247,
"g": 217,
"b": 89
},
"hsl": {
"h": 48.608,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.8872,
"c": 0.14813,
"h": 96
},
"luminance": 0.70121
}Semantic roles & 50–950 ramp
primary
#F7D959
secondary
#2C4AC8
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F