#F0F276#F0F276
#F0F276 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.147 H 109.8°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F276 |
|---|---|
| RGB | rgb(240, 242, 118) |
| HSL | hsl(61, 83%, 71%) |
| HSV | hsv(61, 51%, 95%) |
| CMYK | cmyk(0.8%, 0%, 51.2%, 5.1%) |
| CIE-LAB | lab(93.16, -16.94, 58.82) |
| CIE-LCH | lch(93.16, 61.21, 106.07°) |
| OKLab | oklab(93.52% -0.0496 0.1381) |
| OKLCH | oklch(93.52% 0.147 109.8) |
| XYZ | xyz(70.9590, 83.3392, 29.4841) |
| Luminance | 0.8334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.20
Straw
#FCF679
ΔE00 2.23
Manilla
#FFFA86
ΔE00 2.69
Faded Yellow
#FEFF7F
ΔE00 2.73
Custard
#FFFD78
ΔE00 2.77
Butter
#FFFF81
ΔE00 2.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F276 #7876F2
analogous
#F2B676 #F0F276 #B2F276
triadic
#F0F276 #76F0F2 #F276F0
tetradic
#F0F276 #76F2B6 #7876F2 #F276B2
square
#F0F276 #76F2B6 #7876F2 #F276B2
split-complementary
#F0F276 #76B2F2 #B676F2
monochromatic
#D6D915 #EAED3E #F0F276 #F6F7AE #FCFCE3
Accessibility & contrast
On white
1.19
#F0F276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.67
#F0F276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F276
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F276 | 1.00 | 1.19 | 17.67 | 17.67 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE96A
Deuteranopia (green-blind)
#FFED7D
Tritanopia (blue-blind)
#FEE5D6
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f0f276; /* rgb */ color: rgb(240, 242, 118); /* oklch */ color: oklch(93.5% 0.147 109.8);
Tailwind
colors: {
custom: {
50: '#f7f6a1',
500: '#f0f276',
950: '#000000',
},
}SCSS
$custom: #f0f276; $custom-light: #f7f6a1; $custom-dark: #000000;
JSON
{
"hex": "#f0f276",
"rgb": {
"r": 240,
"g": 242,
"b": 118
},
"hsl": {
"h": 60.968,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.93518,
"c": 0.14673,
"h": 109.8
},
"luminance": 0.83338
}Semantic roles & 50–950 ramp
primary
#F0F276
secondary
#4240CC
accent
#06DF0A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580