#F0F768#F0F768
#F0F768 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.4% C 0.164 H 111.8°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F768 |
|---|---|
| RGB | rgb(240, 247, 104) |
| HSL | hsl(63, 90%, 69%) |
| HSV | hsv(63, 58%, 97%) |
| CMYK | cmyk(2.8%, 0%, 57.9%, 3.1%) |
| CIE-LAB | lab(94.33, -20.42, 66.27) |
| CIE-LCH | lch(94.33, 69.34, 107.13°) |
| OKLab | oklab(94.41% -0.0609 0.1525) |
| OKLCH | oklch(94.41% 0.164 111.8) |
| XYZ | xyz(71.6965, 86.0478, 25.9261) |
| Luminance | 0.8605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.46
Canary
#FDFF63
ΔE00 2.54
Butter Yellow
#FFFD74
ΔE00 2.55
Light Yellow
#FFFE7A
ΔE00 2.65
Custard
#FFFD78
ΔE00 2.65
Faded Yellow
#FEFF7F
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F768 #6F68F7
analogous
#F7B768 #F0F768 #A9F768
triadic
#F0F768 #68F0F7 #F768F0
tetradic
#F0F768 #68F7B7 #6F68F7 #F768A9
square
#F0F768 #68F7B7 #6F68F7 #F768A9
split-complementary
#F0F768 #68A9F7 #B768F7
monochromatic
#CFD90C #EAF42E #F0F768 #F6FAA2 #FCFDDC
Accessibility & contrast
On white
1.15
#F0F768 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.21
#F0F768 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F768
18.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F768 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F768 | 1.00 | 1.15 | 18.21 | 18.21 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF171
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f0f768; /* rgb */ color: rgb(240, 247, 104); /* oklch */ color: oklch(94.4% 0.164 111.8);
Tailwind
colors: {
custom: {
50: '#f8f998',
500: '#f0f768',
950: '#000000',
},
}SCSS
$custom: #f0f768; $custom-light: #f8f998; $custom-dark: #000000;
JSON
{
"hex": "#f0f768",
"rgb": {
"r": 240,
"g": 247,
"b": 104
},
"hsl": {
"h": 62.937,
"s": 89.937,
"l": 68.824
},
"oklch": {
"l": 0.94409,
"c": 0.16423,
"h": 111.8
},
"luminance": 0.86046
}Semantic roles & 50–950 ramp
primary
#F0F768
secondary
#3A33D1
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F