#F0F261#F0F261
#F0F261 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.3% C 0.165 H 109.9°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F261 |
|---|---|
| RGB | rgb(240, 242, 97) |
| HSL | hsl(61, 85%, 66%) |
| HSV | hsv(61, 60%, 95%) |
| CMYK | cmyk(0.8%, 0%, 59.9%, 5.1%) |
| CIE-LAB | lab(92.97, -18.49, 67.69) |
| CIE-LCH | lch(92.97, 70.17, 105.27°) |
| OKLab | oklab(93.3% -0.0561 0.1547) |
| OKLCH | oklch(93.3% 0.165 109.9) |
| XYZ | xyz(69.8470, 82.8944, 23.6278) |
| Luminance | 0.8289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.70
Butter Yellow
#FFFD74
ΔE00 2.71
Canary
#FDFF63
ΔE00 2.81
Custard
#FFFD78
ΔE00 2.88
Straw
#FCF679
ΔE00 2.91
Off Yellow
#F1F33F
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F261 #6361F2
analogous
#F2AC61 #F0F261 #A8F261
triadic
#F0F261 #61F0F2 #F261F0
tetradic
#F0F261 #61F2AC #6361F2 #F261A8
square
#F0F261 #61F2AC #6361F2 #F261A8
split-complementary
#F0F261 #61A8F2 #AC61F2
monochromatic
#C6C810 #EBED28 #F0F261 #F5F79A #FBFBD2
Accessibility & contrast
On white
1.19
#F0F261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.58
#F0F261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F261
17.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F261 | 1.00 | 1.19 | 17.58 | 17.58 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE850
Deuteranopia (green-blind)
#FFED6A
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f0f261; /* rgb */ color: rgb(240, 242, 97); /* oklch */ color: oklch(93.3% 0.165 109.9);
Tailwind
colors: {
custom: {
50: '#f8f694',
500: '#f0f261',
950: '#000000',
},
}SCSS
$custom: #f0f261; $custom-light: #f8f694; $custom-dark: #000000;
JSON
{
"hex": "#f0f261",
"rgb": {
"r": 240,
"g": 242,
"b": 97
},
"hsl": {
"h": 60.828,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.933,
"c": 0.16454,
"h": 109.9
},
"luminance": 0.82893
}Semantic roles & 50–950 ramp
primary
#F0F261
secondary
#3432C5
accent
#04E107
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F