#F0F25E#F0F25E
#F0F25E is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.167 H 110.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F25E |
|---|---|
| RGB | rgb(240, 242, 94) |
| HSL | hsl(61, 85%, 66%) |
| HSV | hsv(61, 61%, 95%) |
| CMYK | cmyk(0.8%, 0%, 61.2%, 5.1%) |
| CIE-LAB | lab(92.94, -18.68, 68.89) |
| CIE-LCH | lch(92.94, 71.38, 105.17°) |
| OKLab | oklab(93.27% -0.057 0.1568) |
| OKLCH | oklch(93.27% 0.167 110) |
| XYZ | xyz(69.7098, 82.8395, 22.9050) |
| Luminance | 0.8284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.62
Canary
#FDFF63
ΔE00 2.73
Pastel Yellow
#FFFE71
ΔE00 2.77
Butter Yellow
#FFFD74
ΔE00 2.81
Custard
#FFFD78
ΔE00 3.02
Straw
#FCF679
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F25E #605EF2
analogous
#F2AA5E #F0F25E #A6F25E
triadic
#F0F25E #5EF0F2 #F25EF0
tetradic
#F0F25E #5EF2AA #605EF2 #F25EA6
square
#F0F25E #5EF2AA #605EF2 #F25EA6
split-complementary
#F0F25E #5EA6F2 #AA5EF2
monochromatic
#C3C610 #EBED25 #F0F25E #F5F797 #FBFBCF
Accessibility & contrast
On white
1.20
#F0F25E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.57
#F0F25E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F25E
17.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F25E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F25E | 1.00 | 1.20 | 17.57 | 17.57 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE84C
Deuteranopia (green-blind)
#FFED67
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f0f25e; /* rgb */ color: rgb(240, 242, 94); /* oklch */ color: oklch(93.3% 0.167 110.0);
Tailwind
colors: {
custom: {
50: '#f8f692',
500: '#f0f25e',
950: '#000000',
},
}SCSS
$custom: #f0f25e; $custom-light: #f8f692; $custom-dark: #000000;
JSON
{
"hex": "#f0f25e",
"rgb": {
"r": 240,
"g": 242,
"b": 94
},
"hsl": {
"h": 60.811,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.93273,
"c": 0.16683,
"h": 110
},
"luminance": 0.82838
}Semantic roles & 50–950 ramp
primary
#F0F25E
secondary
#3331C3
accent
#04E207
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F