#F0D464#F0D464
#F0D464 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.135 H 95.4°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D464 |
|---|---|
| RGB | rgb(240, 212, 100) |
| HSL | hsl(48, 82%, 67%) |
| HSV | hsv(48, 58%, 94%) |
| CMYK | cmyk(0%, 11.7%, 58.3%, 5.9%) |
| CIE-LAB | lab(85.27, -3.38, 57.88) |
| CIE-LCH | lch(85.27, 57.98, 93.34°) |
| OKLab | oklab(87.19% -0.0127 0.1341) |
| OKLCH | oklch(87.19% 0.135 95.4) |
| XYZ | xyz(61.7815, 66.5352, 21.6424) |
| Luminance | 0.6653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.70
Pale Gold
#FDDE6C
ΔE00 2.49
Maize
#F4D054
ΔE00 2.51
Sandy
#F1DA7A
ΔE00 2.80
Light Gold
#FDDC5C
ΔE00 2.86
Sand Yellow
#FCE166
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D464 #6480F0
analogous
#F08E64 #F0D464 #C6F064
triadic
#F0D464 #64F0D4 #D464F0
tetradic
#F0D464 #64F08E #6480F0 #F064C6
square
#F0D464 #64F08E #6480F0 #F064C6
split-complementary
#F0D464 #64C6F0 #8E64F0
monochromatic
#C6A313 #EBC52C #F0D464 #F5E39C #FBF3D4
Accessibility & contrast
On white
1.47
#F0D464 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.31
#F0D464 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D464
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D464 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D464 | 1.00 | 1.47 | 14.31 | 14.31 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D059
Deuteranopia (green-blind)
#EED969
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d464; /* rgb */ color: rgb(240, 212, 100); /* oklch */ color: oklch(87.2% 0.135 95.4);
Tailwind
colors: {
custom: {
50: '#f8e094',
500: '#f0d464',
950: '#000000',
},
}SCSS
$custom: #f0d464; $custom-light: #f8e094; $custom-dark: #000000;
JSON
{
"hex": "#f0d464",
"rgb": {
"r": 240,
"g": 212,
"b": 100
},
"hsl": {
"h": 48,
"s": 82.353,
"l": 66.667
},
"oklch": {
"l": 0.8719,
"c": 0.13474,
"h": 95.4
},
"luminance": 0.66532
}Semantic roles & 50–950 ramp
primary
#F0D464
secondary
#3551C4
accent
#32DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F