#F0CF45#F0CF45
#F0CF45 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.154 H 95.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF45 |
|---|---|
| RGB | rgb(240, 207, 69) |
| HSL | hsl(48, 85%, 61%) |
| HSV | hsv(48, 71%, 94%) |
| CMYK | cmyk(0%, 13.7%, 71.3%, 5.9%) |
| CIE-LAB | lab(83.75, -2.65, 69.20) |
| CIE-LCH | lch(83.75, 69.25, 92.19°) |
| OKLab | oklab(85.91% -0.0141 0.1535) |
| OKLCH | oklch(85.91% 0.154 95.3) |
| XYZ | xyz(59.3252, 63.5838, 14.7772) |
| Luminance | 0.6358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.77
Light Mustard
#F7D560
ΔE00 2.74
Light Gold
#FDDC5C
ΔE00 3.17
Pale Gold
#FDDE6C
ΔE00 4.34
Sand Yellow
#FCE166
ΔE00 4.49
Gold
#FFD700
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF45 #4566F0
analogous
#F07945 #F0CF45 #BBF045
triadic
#F0CF45 #45F0CF #CF45F0
tetradic
#F0CF45 #45F079 #4566F0 #F045BB
square
#F0CF45 #45F079 #4566F0 #F045BB
split-complementary
#F0CF45 #45BBF0 #7945F0
monochromatic
#AD8E0E #E5BD12 #F0CF45 #F5DE7E #F9ECB6
Accessibility & contrast
On white
1.53
#F0CF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.72
#F0CF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF45
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF45 | 1.00 | 1.53 | 13.72 | 13.72 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CB30
Deuteranopia (green-blind)
#EDD54D
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf45; /* rgb */ color: rgb(240, 207, 69); /* oklch */ color: oklch(85.9% 0.154 95.3);
Tailwind
colors: {
custom: {
50: '#f9dd81',
500: '#f0cf45',
950: '#000000',
},
}SCSS
$custom: #f0cf45; $custom-light: #f9dd81; $custom-dark: #000000;
JSON
{
"hex": "#f0cf45",
"rgb": {
"r": 240,
"g": 207,
"b": 69
},
"hsl": {
"h": 48.421,
"s": 85.075,
"l": 60.588
},
"oklch": {
"l": 0.85907,
"c": 0.15416,
"h": 95.3
},
"luminance": 0.63581
}Semantic roles & 50–950 ramp
primary
#F0CF45
secondary
#2C45AD
accent
#2FE204
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E