#F0F170#F0F170
#F0F170 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.151 H 109.4°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F170 |
|---|---|
| RGB | rgb(240, 241, 112) |
| HSL | hsl(60, 82%, 69%) |
| HSV | hsv(60, 54%, 95%) |
| CMYK | cmyk(0.4%, 0%, 53.5%, 5.5%) |
| CIE-LAB | lab(92.84, -16.93, 61.14) |
| CIE-LCH | lch(92.84, 63.44, 105.48°) |
| OKLab | oklab(93.24% -0.0502 0.1425) |
| OKLCH | oklch(93.24% 0.151 109.4) |
| XYZ | xyz(70.3169, 82.6075, 27.5668) |
| Luminance | 0.8261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.12
Yellowish Tan
#FCFC81
ΔE00 2.48
Custard
#FFFD78
ΔE00 2.70
Butter Yellow
#FFFD74
ΔE00 2.79
Light Yellow
#FFFE7A
ΔE00 2.79
Faded Yellow
#FEFF7F
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F170 #7170F1
analogous
#F1B270 #F0F170 #B0F170
triadic
#F0F170 #70F0F1 #F170F0
tetradic
#F0F170 #70F1B2 #7170F1 #F170B0
square
#F0F170 #70F1B2 #7170F1 #F170B0
split-complementary
#F0F170 #70B0F1 #B270F1
monochromatic
#D1D215 #EAEC38 #F0F170 #F6F6A8 #FCFCDF
Accessibility & contrast
On white
1.20
#F0F170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.52
#F0F170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F170
17.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F170 | 1.00 | 1.20 | 17.52 | 17.52 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFED77
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #f0f170; /* rgb */ color: rgb(240, 241, 112); /* oklch */ color: oklch(93.2% 0.151 109.4);
Tailwind
colors: {
custom: {
50: '#f7f59d',
500: '#f0f170',
950: '#000000',
},
}SCSS
$custom: #f0f170; $custom-light: #f7f59d; $custom-dark: #000000;
JSON
{
"hex": "#f0f170",
"rgb": {
"r": 240,
"g": 241,
"b": 112
},
"hsl": {
"h": 60.465,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.93243,
"c": 0.15106,
"h": 109.4
},
"luminance": 0.82606
}Semantic roles & 50–950 ramp
primary
#F0F170
secondary
#3C3BCA
accent
#07DF09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580