#F0CF55#F0CF55
#F0CF55 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 86.0% C 0.143 H 94.0°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF55 |
|---|---|
| RGB | rgb(240, 207, 85) |
| HSL | hsl(47, 84%, 64%) |
| HSV | hsv(47, 65%, 94%) |
| CMYK | cmyk(0%, 13.7%, 64.6%, 5.9%) |
| CIE-LAB | lab(83.87, -1.80, 62.92) |
| CIE-LCH | lch(83.87, 62.95, 91.64°) |
| OKLab | oklab(86.04% -0.0099 0.1429) |
| OKLCH | oklch(86.04% 0.143 94) |
| XYZ | xyz(59.8906, 63.8099, 17.7545) |
| Luminance | 0.6381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.86
Light Mustard
#F7D560
ΔE00 1.61
Light Gold
#FDDC5C
ΔE00 3.02
Pale Gold
#FDDE6C
ΔE00 3.56
Sand Yellow
#FCE166
ΔE00 4.21
Yellow Tan
#FFE36E
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF55 #5576F0
analogous
#F08155 #F0CF55 #C3F055
triadic
#F0CF55 #55F0CF #CF55F0
tetradic
#F0CF55 #55F081 #5576F0 #F055C3
square
#F0CF55 #55F081 #5576F0 #F055C3
split-complementary
#F0CF55 #55C3F0 #8155F0
monochromatic
#BA9610 #EBBF1D #F0CF55 #F5DF8D #FAEFC5
Accessibility & contrast
On white
1.53
#F0CF55 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.76
#F0CF55 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF55
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF55 | 1.00 | 1.53 | 13.76 | 13.76 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB47
Deuteranopia (green-blind)
#ECD55B
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf55; /* rgb */ color: rgb(240, 207, 85); /* oklch */ color: oklch(86.0% 0.143 94.0);
Tailwind
colors: {
custom: {
50: '#f9dd8a',
500: '#f0cf55',
950: '#000000',
},
}SCSS
$custom: #f0cf55; $custom-light: #f9dd8a; $custom-dark: #000000;
JSON
{
"hex": "#f0cf55",
"rgb": {
"r": 240,
"g": 207,
"b": 85
},
"hsl": {
"h": 47.226,
"s": 83.784,
"l": 63.725
},
"oklch": {
"l": 0.86038,
"c": 0.14321,
"h": 94
},
"luminance": 0.63807
}Semantic roles & 50–950 ramp
primary
#F0CF55
secondary
#304DB9
accent
#34E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F