#F2F079#F2F079
#F2F079 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.142 H 108.0°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F079 |
|---|---|
| RGB | rgb(242, 240, 121) |
| HSL | hsl(59, 82%, 71%) |
| HSV | hsv(59, 50%, 95%) |
| CMYK | cmyk(0%, 0.8%, 50%, 5.1%) |
| CIE-LAB | lab(92.83, -14.93, 57.10) |
| CIE-LCH | lch(92.83, 59.02, 104.65°) |
| OKLab | oklab(93.3% -0.0437 0.1346) |
| OKLCH | oklch(93.3% 0.142 108) |
| XYZ | xyz(71.2310, 82.5797, 30.2727) |
| Luminance | 0.8258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.85
Manilla
#FFFA86
ΔE00 2.35
Yellowish Tan
#FCFC81
ΔE00 2.46
Custard
#FFFD78
ΔE00 3.03
Pale Yellow
#FFFF84
ΔE00 3.05
Butter
#FFFF81
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F079 #797BF2
analogous
#F2B379 #F2F079 #B7F279
triadic
#F2F079 #79F2F0 #F079F2
tetradic
#F2F079 #79F2B3 #797BF2 #F279B7
square
#F2F079 #79F2B3 #797BF2 #F279B7
split-complementary
#F2F079 #79B7F2 #B379F2
monochromatic
#DBD815 #EDEA41 #F2F079 #F7F6B1 #FCFCE3
Accessibility & contrast
On white
1.20
#F2F079 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.52
#F2F079 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F079
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F079 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F079 | 1.00 | 1.20 | 17.52 | 17.52 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #f2f079; /* rgb */ color: rgb(242, 240, 121); /* oklch */ color: oklch(93.3% 0.142 108.0);
Tailwind
colors: {
custom: {
50: '#f8f4a3',
500: '#f2f079',
950: '#000000',
},
}SCSS
$custom: #f2f079; $custom-light: #f8f4a3; $custom-dark: #000000;
JSON
{
"hex": "#f2f079",
"rgb": {
"r": 242,
"g": 240,
"b": 121
},
"hsl": {
"h": 59.008,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.93301,
"c": 0.14152,
"h": 108
},
"luminance": 0.82578
}Semantic roles & 50–950 ramp
primary
#F2F079
secondary
#4345CC
accent
#0ADF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580