#F0F672#F0F672
#F0F672 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.155 H 111.4°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F672 |
|---|---|
| RGB | rgb(240, 246, 114) |
| HSL | hsl(63, 88%, 71%) |
| HSV | hsv(63, 54%, 96%) |
| CMYK | cmyk(2.4%, 0%, 53.7%, 3.5%) |
| CIE-LAB | lab(94.16, -19.20, 61.76) |
| CIE-LCH | lch(94.16, 64.68, 107.27°) |
| OKLab | oklab(94.3% -0.0564 0.144) |
| OKLCH | oklch(94.3% 0.155 111.4) |
| XYZ | xyz(71.9299, 85.6532, 28.6599) |
| Luminance | 0.8565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.19
Faded Yellow
#FEFF7F
ΔE00 2.35
Light Yellow
#FFFE7A
ΔE00 2.47
Banana (survey)
#FFFF7E
ΔE00 2.47
Custard
#FFFD78
ΔE00 2.52
Butter
#FFFF81
ΔE00 2.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F672 #7872F6
analogous
#F6BA72 #F0F672 #AEF672
triadic
#F0F672 #72F0F6 #F672F0
tetradic
#F0F672 #72F6BA #7872F6 #F672AE
square
#F0F672 #72F6BA #7872F6 #F672AE
split-complementary
#F0F672 #72AEF6 #BA72F6
monochromatic
#D6DF0E #EAF238 #F0F672 #F6FAAC #FCFDE2
Accessibility & contrast
On white
1.16
#F0F672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.13
#F0F672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F672
18.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F672 | 1.00 | 1.16 | 18.13 | 18.13 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FEE9D9
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f672; /* rgb */ color: rgb(240, 246, 114); /* oklch */ color: oklch(94.3% 0.155 111.4);
Tailwind
colors: {
custom: {
50: '#f7f99e',
500: '#f0f672',
950: '#000000',
},
}SCSS
$custom: #f0f672; $custom-light: #f7f99e; $custom-dark: #000000;
JSON
{
"hex": "#f0f672",
"rgb": {
"r": 240,
"g": 246,
"b": 114
},
"hsl": {
"h": 62.727,
"s": 88,
"l": 70.588
},
"oklch": {
"l": 0.94303,
"c": 0.15469,
"h": 111.4
},
"luminance": 0.85652
}Semantic roles & 50–950 ramp
primary
#F0F672
secondary
#423CD1
accent
#01E50B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580