#F4D979#F4D979
#F4D979 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.120 H 94.1°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).
Color values
| HEX | #F4D979 |
|---|---|
| RGB | rgb(244, 217, 121) |
| HSL | hsl(47, 85%, 72%) |
| HSV | hsv(47, 50%, 96%) |
| CMYK | cmyk(0%, 11.1%, 50.4%, 4.3%) |
| CIE-LAB | lab(87.12, -2.65, 50.32) |
| CIE-LCH | lch(87.12, 50.39, 93.02°) |
| OKLab | oklab(88.81% -0.0085 0.1197) |
| OKLCH | oklch(88.81% 0.12 94.1) |
| XYZ | xyz(65.5745, 70.2421, 28.1894) |
| Luminance | 0.7024 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.12
Wheat (survey)
#FBDD7E
ΔE00 1.35
Pale Gold
#FDDE6C
ΔE00 2.76
Light Mustard
#F7D560
ΔE00 3.25
Yellow Tan
#FFE36E
ΔE00 3.49
Sand Yellow
#FCE166
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4D979 #7994F4
analogous
#F49C79 #F4D979 #D2F479
triadic
#F4D979 #79F4D9 #D979F4
tetradic
#F4D979 #79F49C #7994F4 #F479D2
square
#F4D979 #79F49C #7994F4 #F479D2
split-complementary
#F4D979 #79D2F4 #9C79F4
monochromatic
#E0B312 #EFC940 #F4D979 #F9E9B2 #FDF7E3
Accessibility & contrast
On white
1.40
#F4D979 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.05
#F4D979 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4D979
15.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4D979 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4D979 | 1.00 | 1.40 | 15.05 | 15.05 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD571
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f4d979; /* rgb */ color: rgb(244, 217, 121); /* oklch */ color: oklch(88.8% 0.120 94.1);
Tailwind
colors: {
custom: {
50: '#fae4a2',
500: '#f4d979',
950: '#000000',
},
}SCSS
$custom: #f4d979; $custom-light: #fae4a2; $custom-dark: #000000;
JSON
{
"hex": "#f4d979",
"rgb": {
"r": 244,
"g": 217,
"b": 121
},
"hsl": {
"h": 46.829,
"s": 84.828,
"l": 71.569
},
"oklch": {
"l": 0.88807,
"c": 0.12001,
"h": 94.1
},
"luminance": 0.70239
}Semantic roles & 50–950 ramp
primary
#F4D979
secondary
#4261CF
accent
#35E104
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480