#F0CD5F#F0CD5F
#F0CD5F is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.7% C 0.134 H 91.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CD5F |
|---|---|
| RGB | rgb(240, 205, 95) |
| HSL | hsl(46, 83%, 66%) |
| HSV | hsv(46, 60%, 94%) |
| CMYK | cmyk(0%, 14.6%, 60.4%, 5.9%) |
| CIE-LAB | lab(83.45, -0.15, 58.09) |
| CIE-LCH | lch(83.45, 58.09, 90.14°) |
| OKLab | oklab(85.74% -0.004 0.134) |
| OKLCH | oklch(85.74% 0.134 91.7) |
| XYZ | xyz(59.8348, 63.0173, 19.8362) |
| Luminance | 0.6301 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.77
Light Mustard
#F7D560
ΔE00 2.03
Pale Gold
#FDDE6C
ΔE00 3.95
Light Gold
#FDDC5C
ΔE00 4.00
Wheat (survey)
#FBDD7E
ΔE00 4.29
Sandy
#F1DA7A
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CD5F #5F82F0
analogous
#F0845F #F0CD5F #CBF05F
triadic
#F0CD5F #5FF0CD #CD5FF0
tetradic
#F0CD5F #5FF084 #5F82F0 #F05FCB
square
#F0CD5F #5FF084 #5F82F0 #F05FCB
split-complementary
#F0CD5F #5FCBF0 #845FF0
monochromatic
#C29812 #EBBC27 #F0CD5F #F5DE97 #FAF0CF
Accessibility & contrast
On white
1.54
#F0CD5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#F0CD5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CD5F
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CD5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CD5F | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA54
Deuteranopia (green-blind)
#EAD464
Tritanopia (blue-blind)
#FFBEB5
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f0cd5f; /* rgb */ color: rgb(240, 205, 95); /* oklch */ color: oklch(85.7% 0.134 91.7);
Tailwind
colors: {
custom: {
50: '#f8dc90',
500: '#f0cd5f',
950: '#000000',
},
}SCSS
$custom: #f0cd5f; $custom-light: #f8dc90; $custom-dark: #000000;
JSON
{
"hex": "#f0cd5f",
"rgb": {
"r": 240,
"g": 205,
"b": 95
},
"hsl": {
"h": 45.517,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.85739,
"c": 0.13403,
"h": 91.7
},
"luminance": 0.63014
}Semantic roles & 50–950 ramp
primary
#F0CD5F
secondary
#3355C0
accent
#3BDF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F