#F2D779#F2D779
#F2D779 is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.118 H 93.8°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D779 |
|---|---|
| RGB | rgb(242, 215, 121) |
| HSL | hsl(47, 82%, 71%) |
| HSV | hsv(47, 50%, 95%) |
| CMYK | cmyk(0%, 11.2%, 50%, 5.1%) |
| CIE-LAB | lab(86.44, -2.44, 49.45) |
| CIE-LCH | lch(86.44, 49.51, 92.82°) |
| OKLab | oklab(88.23% -0.0078 0.1178) |
| OKLCH | oklch(88.23% 0.118 93.8) |
| XYZ | xyz(64.3718, 68.8613, 27.9863) |
| Luminance | 0.6886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.31
Wheat (survey)
#FBDD7E
ΔE00 1.67
Pale Gold
#FDDE6C
ΔE00 3.20
Light Mustard
#F7D560
ΔE00 3.40
Sand (survey)
#E2CA76
ΔE00 3.49
Yellow Tan
#FFE36E
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D779 #7994F2
analogous
#F29A79 #F2D779 #D0F279
triadic
#F2D779 #79F2D7 #D779F2
tetradic
#F2D779 #79F29A #7994F2 #F279D0
square
#F2D779 #79F29A #7994F2 #F279D0
split-complementary
#F2D779 #79D0F2 #9A79F2
monochromatic
#DBAF15 #EDC641 #F2D779 #F7E8B1 #FCF7E3
Accessibility & contrast
On white
1.42
#F2D779 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.77
#F2D779 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D779
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D779 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D779 | 1.00 | 1.42 | 14.77 | 14.77 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D471
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d779; /* rgb */ color: rgb(242, 215, 121); /* oklch */ color: oklch(88.2% 0.118 93.8);
Tailwind
colors: {
custom: {
50: '#f9e3a1',
500: '#f2d779',
950: '#000000',
},
}SCSS
$custom: #f2d779; $custom-light: #f9e3a1; $custom-dark: #000000;
JSON
{
"hex": "#f2d779",
"rgb": {
"r": 242,
"g": 215,
"b": 121
},
"hsl": {
"h": 46.612,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.88228,
"c": 0.11809,
"h": 93.8
},
"luminance": 0.68859
}Semantic roles & 50–950 ramp
primary
#F2D779
secondary
#4362CC
accent
#37DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480