#F0CF5F#F0CF5F
#F0CF5F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.135 H 92.9°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CF5F |
|---|---|
| RGB | rgb(240, 207, 95) |
| HSL | hsl(46, 83%, 66%) |
| HSV | hsv(46, 60%, 94%) |
| CMYK | cmyk(0%, 13.7%, 60.4%, 5.9%) |
| CIE-LAB | lab(83.96, -1.17, 58.65) |
| CIE-LCH | lch(83.96, 58.67, 91.14°) |
| OKLab | oklab(86.14% -0.0069 0.1352) |
| OKLCH | oklch(86.14% 0.135 92.9) |
| XYZ | xyz(60.3163, 63.9802, 19.9966) |
| Luminance | 0.6398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.53
Light Mustard
#F7D560
ΔE00 1.53
Pale Gold
#FDDE6C
ΔE00 3.40
Light Gold
#FDDC5C
ΔE00 3.44
Wheat (survey)
#FBDD7E
ΔE00 4.01
Sandy
#F1DA7A
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CF5F #5F80F0
analogous
#F0865F #F0CF5F #C8F05F
triadic
#F0CF5F #5FF0CF #CF5FF0
tetradic
#F0CF5F #5FF086 #5F80F0 #F05FC8
square
#F0CF5F #5FF086 #5F80F0 #F05FC8
split-complementary
#F0CF5F #5FC8F0 #865FF0
monochromatic
#C29A12 #EBBE27 #F0CF5F #F5E097 #FAF1CF
Accessibility & contrast
On white
1.52
#F0CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.80
#F0CF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CF5F
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CF5F | 1.00 | 1.52 | 13.80 | 13.80 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC53
Deuteranopia (green-blind)
#EBD664
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0cf5f; /* rgb */ color: rgb(240, 207, 95); /* oklch */ color: oklch(86.1% 0.135 92.9);
Tailwind
colors: {
custom: {
50: '#f8dd90',
500: '#f0cf5f',
950: '#000000',
},
}SCSS
$custom: #f0cf5f; $custom-light: #f8dd90; $custom-dark: #000000;
JSON
{
"hex": "#f0cf5f",
"rgb": {
"r": 240,
"g": 207,
"b": 95
},
"hsl": {
"h": 46.345,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.86137,
"c": 0.13536,
"h": 92.9
},
"luminance": 0.63977
}Semantic roles & 50–950 ramp
primary
#F0CF5F
secondary
#3353C0
accent
#38DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F