#F0F260#F0F260
#F0F260 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.3% C 0.165 H 110.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F260 |
|---|---|
| RGB | rgb(240, 242, 96) |
| HSL | hsl(61, 85%, 66%) |
| HSV | hsv(61, 60%, 95%) |
| CMYK | cmyk(0.8%, 0%, 60.3%, 5.1%) |
| CIE-LAB | lab(92.96, -18.55, 68.09) |
| CIE-LCH | lch(92.96, 70.57, 105.24°) |
| OKLab | oklab(93.29% -0.0564 0.1554) |
| OKLCH | oklch(93.29% 0.165 110) |
| XYZ | xyz(69.8007, 82.8759, 23.3838) |
| Luminance | 0.8287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.72
Butter Yellow
#FFFD74
ΔE00 2.74
Canary
#FDFF63
ΔE00 2.78
Off Yellow
#F1F33F
ΔE00 2.82
Custard
#FFFD78
ΔE00 2.92
Straw
#FCF679
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F260 #6260F2
analogous
#F2AB60 #F0F260 #A7F260
triadic
#F0F260 #60F0F2 #F260F0
tetradic
#F0F260 #60F2AB #6260F2 #F260A7
square
#F0F260 #60F2AB #6260F2 #F260A7
split-complementary
#F0F260 #60A7F2 #AB60F2
monochromatic
#C5C710 #EBED27 #F0F260 #F5F799 #FBFBD1
Accessibility & contrast
On white
1.19
#F0F260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.57
#F0F260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F260
17.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F260 | 1.00 | 1.19 | 17.57 | 17.57 |
| #FFFFFF | 1.19 | 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)
#FFE84E
Deuteranopia (green-blind)
#FFED69
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f0f260; /* rgb */ color: rgb(240, 242, 96); /* oklch */ color: oklch(93.3% 0.165 110.0);
Tailwind
colors: {
custom: {
50: '#f8f693',
500: '#f0f260',
950: '#000000',
},
}SCSS
$custom: #f0f260; $custom-light: #f8f693; $custom-dark: #000000;
JSON
{
"hex": "#f0f260",
"rgb": {
"r": 240,
"g": 242,
"b": 96
},
"hsl": {
"h": 60.822,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.93291,
"c": 0.16531,
"h": 110
},
"luminance": 0.82874
}Semantic roles & 50–950 ramp
primary
#F0F260
secondary
#3432C4
accent
#04E107
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F