#F0D468#F0D468
#F0D468 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.131 H 95.0°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D468 |
|---|---|
| RGB | rgb(240, 212, 104) |
| HSL | hsl(48, 82%, 67%) |
| HSV | hsv(48, 57%, 94%) |
| CMYK | cmyk(0%, 11.7%, 56.7%, 5.9%) |
| CIE-LAB | lab(85.31, -3.09, 56.10) |
| CIE-LCH | lch(85.31, 56.19, 93.15°) |
| OKLab | oklab(87.24% -0.0114 0.1308) |
| OKLCH | oklch(87.24% 0.131 95) |
| XYZ | xyz(61.9798, 66.6146, 22.6872) |
| Luminance | 0.6661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.87
Sandy
#F1DA7A
ΔE00 2.43
Pale Gold
#FDDE6C
ΔE00 2.54
Maize
#F4D054
ΔE00 2.77
Wheat (survey)
#FBDD7E
ΔE00 3.02
Light Gold
#FDDC5C
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D468 #6884F0
analogous
#F09068 #F0D468 #C8F068
triadic
#F0D468 #68F0D4 #D468F0
tetradic
#F0D468 #68F090 #6884F0 #F068C8
square
#F0D468 #68F090 #6884F0 #F068C8
split-complementary
#F0D468 #68C8F0 #9068F0
monochromatic
#CAA414 #EAC430 #F0D468 #F6E4A0 #FBF4D7
Accessibility & contrast
On white
1.47
#F0D468 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.32
#F0D468 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D468
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D468 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D468 | 1.00 | 1.47 | 14.32 | 14.32 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D05D
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d468; /* rgb */ color: rgb(240, 212, 104); /* oklch */ color: oklch(87.2% 0.131 95.0);
Tailwind
colors: {
custom: {
50: '#f8e096',
500: '#f0d468',
950: '#000000',
},
}SCSS
$custom: #f0d468; $custom-light: #f8e096; $custom-dark: #000000;
JSON
{
"hex": "#f0d468",
"rgb": {
"r": 240,
"g": 212,
"b": 104
},
"hsl": {
"h": 47.647,
"s": 81.928,
"l": 67.451
},
"oklch": {
"l": 0.87235,
"c": 0.13127,
"h": 95
},
"luminance": 0.66612
}Semantic roles & 50–950 ramp
primary
#F0D468
secondary
#3654C6
accent
#33DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F