#F2F279#F2F279
#F2F279 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.144 H 108.9°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F279 |
|---|---|
| RGB | rgb(242, 242, 121) |
| HSL | hsl(60, 82%, 71%) |
| HSV | hsv(60, 50%, 95%) |
| CMYK | cmyk(0%, 0%, 50%, 5.1%) |
| CIE-LAB | lab(93.35, -15.91, 57.71) |
| CIE-LCH | lch(93.35, 59.86, 105.41°) |
| OKLab | oklab(93.71% -0.0465 0.1359) |
| OKLCH | oklch(93.71% 0.144 108.9) |
| XYZ | xyz(71.8230, 83.7637, 30.4700) |
| Luminance | 0.8376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.88
Yellowish Tan
#FCFC81
ΔE00 2.06
Manilla
#FFFA86
ΔE00 2.28
Pale Yellow
#FFFF84
ΔE00 2.66
Butter
#FFFF81
ΔE00 2.69
Faded Yellow
#FEFF7F
ΔE00 2.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F279 #7979F2
analogous
#F2B579 #F2F279 #B5F279
triadic
#F2F279 #79F2F2 #F279F2
tetradic
#F2F279 #79F2B5 #7979F2 #F279B5
square
#F2F279 #79F2B5 #7979F2 #F279B5
split-complementary
#F2F279 #79B5F2 #B579F2
monochromatic
#DBDB15 #EDED41 #F2F279 #F7F7B1 #FCFCE3
Accessibility & contrast
On white
1.18
#F2F279 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.75
#F2F279 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F279
17.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F279 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F279 | 1.00 | 1.18 | 17.75 | 17.75 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE96E
Deuteranopia (green-blind)
#FFEE7F
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f279; /* rgb */ color: rgb(242, 242, 121); /* oklch */ color: oklch(93.7% 0.144 108.9);
Tailwind
colors: {
custom: {
50: '#f8f6a3',
500: '#f2f279',
950: '#000000',
},
}SCSS
$custom: #f2f279; $custom-light: #f8f6a3; $custom-dark: #000000;
JSON
{
"hex": "#f2f279",
"rgb": {
"r": 242,
"g": 242,
"b": 121
},
"hsl": {
"h": 60,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.93713,
"c": 0.14366,
"h": 108.9
},
"luminance": 0.83762
}Semantic roles & 50–950 ramp
primary
#F2F279
secondary
#4343CC
accent
#07DF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580