#F0F670#F0F670
#F0F670 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.3% C 0.156 H 111.4°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F670 |
|---|---|
| RGB | rgb(240, 246, 112) |
| HSL | hsl(63, 88%, 70%) |
| HSV | hsv(63, 54%, 96%) |
| CMYK | cmyk(2.4%, 0%, 54.5%, 3.5%) |
| CIE-LAB | lab(94.14, -19.35, 62.62) |
| CIE-LCH | lch(94.14, 65.54, 107.17°) |
| OKLab | oklab(94.28% -0.0571 0.1457) |
| OKLCH | oklch(94.28% 0.156 111.4) |
| XYZ | xyz(71.8173, 85.6082, 28.0669) |
| Luminance | 0.8561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.29
Faded Yellow
#FEFF7F
ΔE00 2.40
Light Yellow
#FFFE7A
ΔE00 2.46
Custard
#FFFD78
ΔE00 2.50
Banana (survey)
#FFFF7E
ΔE00 2.50
Butter Yellow
#FFFD74
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F670 #7670F6
analogous
#F6B970 #F0F670 #ADF670
triadic
#F0F670 #70F0F6 #F670F0
tetradic
#F0F670 #70F6B9 #7670F6 #F670AD
square
#F0F670 #70F6B9 #7670F6 #F670AD
split-complementary
#F0F670 #70ADF6 #B970F6
monochromatic
#D4DE0E #EAF236 #F0F670 #F6FAAA #FCFDE2
Accessibility & contrast
On white
1.16
#F0F670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.12
#F0F670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F670
18.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F670 | 1.00 | 1.16 | 18.12 | 18.12 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FEE9D9
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f670; /* rgb */ color: rgb(240, 246, 112); /* oklch */ color: oklch(94.3% 0.156 111.4);
Tailwind
colors: {
custom: {
50: '#f7f99d',
500: '#f0f670',
950: '#000000',
},
}SCSS
$custom: #f0f670; $custom-light: #f7f99d; $custom-dark: #000000;
JSON
{
"hex": "#f0f670",
"rgb": {
"r": 240,
"g": 246,
"b": 112
},
"hsl": {
"h": 62.687,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.94282,
"c": 0.15644,
"h": 111.4
},
"luminance": 0.85607
}Semantic roles & 50–950 ramp
primary
#F0F670
secondary
#413AD0
accent
#01E50B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580