#F0CF49#F0CF49
#F0CF49 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.152 H 95.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF49 |
|---|---|
| RGB | rgb(240, 207, 73) |
| HSL | hsl(48, 85%, 61%) |
| HSV | hsv(48, 70%, 94%) |
| CMYK | cmyk(0%, 13.7%, 69.6%, 5.9%) |
| CIE-LAB | lab(83.78, -2.45, 67.70) |
| CIE-LCH | lch(83.78, 67.75, 92.08°) |
| OKLab | oklab(85.94% -0.0131 0.1511) |
| OKLCH | oklch(85.94% 0.152 95) |
| XYZ | xyz(59.4536, 63.6352, 15.4533) |
| Luminance | 0.6363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.45
Light Mustard
#F7D560
ΔE00 2.43
Light Gold
#FDDC5C
ΔE00 3.06
Pale Gold
#FDDE6C
ΔE00 4.12
Sand Yellow
#FCE166
ΔE00 4.37
Dull Yellow
#EEDC5B
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF49 #496AF0
analogous
#F07C49 #F0CF49 #BEF049
triadic
#F0CF49 #49F0CF #CF49F0
tetradic
#F0CF49 #49F07C #496AF0 #F049BE
square
#F0CF49 #49F07C #496AF0 #F049BE
split-complementary
#F0CF49 #49BEF0 #7C49F0
monochromatic
#B0900F #E9BE13 #F0CF49 #F5DE82 #F9EDBA
Accessibility & contrast
On white
1.53
#F0CF49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.73
#F0CF49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF49
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF49 | 1.00 | 1.53 | 13.73 | 13.73 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CB36
Deuteranopia (green-blind)
#ECD550
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf49; /* rgb */ color: rgb(240, 207, 73); /* oklch */ color: oklch(85.9% 0.152 95.0);
Tailwind
colors: {
custom: {
50: '#f9dd83',
500: '#f0cf49',
950: '#000000',
},
}SCSS
$custom: #f0cf49; $custom-light: #f9dd83; $custom-dark: #000000;
JSON
{
"hex": "#f0cf49",
"rgb": {
"r": 240,
"g": 207,
"b": 73
},
"hsl": {
"h": 48.144,
"s": 84.772,
"l": 61.373
},
"oklch": {
"l": 0.85937,
"c": 0.15162,
"h": 95
},
"luminance": 0.63632
}Semantic roles & 50–950 ramp
primary
#F0CF49
secondary
#2D47B0
accent
#30E104
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E