#F2DD79#F2DD79
#F2DD79 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.4% C 0.123 H 97.7°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD79 |
|---|---|
| RGB | rgb(242, 221, 121) |
| HSL | hsl(50, 82%, 71%) |
| HSV | hsv(50, 50%, 95%) |
| CMYK | cmyk(0%, 8.7%, 50%, 5.1%) |
| CIE-LAB | lab(87.96, -5.48, 51.29) |
| CIE-LCH | lch(87.96, 51.58, 96.10°) |
| OKLab | oklab(89.43% -0.0166 0.1219) |
| OKLCH | oklch(89.43% 0.123 97.7) |
| XYZ | xyz(65.9277, 71.9732, 28.5049) |
| Luminance | 0.7197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.01
Wheat (survey)
#FBDD7E
ΔE00 2.73
Yellow Tan
#FFE36E
ΔE00 3.13
Pale Gold
#FDDE6C
ΔE00 3.15
Sand Yellow
#FCE166
ΔE00 3.36
Khaki (CSS)
#F0E68C
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD79 #798EF2
analogous
#F2A079 #F2DD79 #CAF279
triadic
#F2DD79 #79F2DD #DD79F2
tetradic
#F2DD79 #79F2A0 #798EF2 #F279CA
square
#F2DD79 #79F2A0 #798EF2 #F279CA
split-complementary
#F2DD79 #79CAF2 #A079F2
monochromatic
#DBB915 #EDCF41 #F2DD79 #F7EBB1 #FCF8E3
Accessibility & contrast
On white
1.36
#F2DD79 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.39
#F2DD79 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD79
15.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD79 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD79 | 1.00 | 1.36 | 15.39 | 15.39 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F4E07D
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2dd79; /* rgb */ color: rgb(242, 221, 121); /* oklch */ color: oklch(89.4% 0.123 97.7);
Tailwind
colors: {
custom: {
50: '#f8e7a2',
500: '#f2dd79',
950: '#000000',
},
}SCSS
$custom: #f2dd79; $custom-light: #f8e7a2; $custom-dark: #000000;
JSON
{
"hex": "#f2dd79",
"rgb": {
"r": 242,
"g": 221,
"b": 121
},
"hsl": {
"h": 49.587,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.89431,
"c": 0.12301,
"h": 97.7
},
"luminance": 0.71971
}Semantic roles & 50–950 ramp
primary
#F2DD79
secondary
#435BCC
accent
#2CDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480