#F0F66B#F0F66B
#F0F66B is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.2% C 0.161 H 111.4°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F66B |
|---|---|
| RGB | rgb(240, 246, 107) |
| HSL | hsl(63, 89%, 69%) |
| HSV | hsv(63, 57%, 96%) |
| CMYK | cmyk(2.4%, 0%, 56.5%, 3.5%) |
| CIE-LAB | lab(94.10, -19.73, 64.73) |
| CIE-LCH | lch(94.10, 67.67, 106.95°) |
| OKLab | oklab(94.23% -0.0586 0.1496) |
| OKLCH | oklch(94.23% 0.161 111.4) |
| XYZ | xyz(71.5466, 85.4999, 26.6413) |
| Luminance | 0.8550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.48
Butter Yellow
#FFFD74
ΔE00 2.48
Custard
#FFFD78
ΔE00 2.52
Light Yellow
#FFFE7A
ΔE00 2.53
Faded Yellow
#FEFF7F
ΔE00 2.59
Yellowish Tan
#FCFC81
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F66B #716BF6
analogous
#F6B76B #F0F66B #ABF66B
triadic
#F0F66B #6BF0F6 #F66BF0
tetradic
#F0F66B #6BF6B7 #716BF6 #F66BAB
square
#F0F66B #6BF6B7 #716BF6 #F66BAB
split-complementary
#F0F66B #6BABF6 #B76BF6
monochromatic
#D1D90D #EAF231 #F0F66B #F6FAA5 #FCFDDE
Accessibility & contrast
On white
1.16
#F0F66B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.10
#F0F66B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F66B
18.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F66B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F66B | 1.00 | 1.16 | 18.10 | 18.10 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC5C
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f0f66b; /* rgb */ color: rgb(240, 246, 107); /* oklch */ color: oklch(94.2% 0.161 111.4);
Tailwind
colors: {
custom: {
50: '#f8f99a',
500: '#f0f66b',
950: '#000000',
},
}SCSS
$custom: #f0f66b; $custom-light: #f8f99a; $custom-dark: #000000;
JSON
{
"hex": "#f0f66b",
"rgb": {
"r": 240,
"g": 246,
"b": 107
},
"hsl": {
"h": 62.59,
"s": 88.535,
"l": 69.216
},
"oklch": {
"l": 0.9423,
"c": 0.1607,
"h": 111.4
},
"luminance": 0.85498
}Semantic roles & 50–950 ramp
primary
#F0F66B
secondary
#3C36D0
accent
#00E50A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F