#F0CD5A#F0CD5A
#F0CD5A is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.7% C 0.138 H 92.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CD5A |
|---|---|
| RGB | rgb(240, 205, 90) |
| HSL | hsl(46, 83%, 65%) |
| HSV | hsv(46, 63%, 94%) |
| CMYK | cmyk(0%, 14.6%, 62.5%, 5.9%) |
| CIE-LAB | lab(83.41, -0.47, 60.26) |
| CIE-LCH | lch(83.41, 60.26, 90.45°) |
| OKLab | oklab(85.69% -0.0055 0.1379) |
| OKLCH | oklch(85.69% 0.138 92.3) |
| XYZ | xyz(59.6148, 62.9293, 18.6774) |
| Luminance | 0.6293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.24
Light Mustard
#F7D560
ΔE00 1.86
Light Gold
#FDDC5C
ΔE00 3.71
Pale Gold
#FDDE6C
ΔE00 3.92
Wheat (survey)
#FBDD7E
ΔE00 4.62
Sandy
#F1DA7A
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CD5A #5A7DF0
analogous
#F0825A #F0CD5A #C8F05A
triadic
#F0CD5A #5AF0CD #CD5AF0
tetradic
#F0CD5A #5AF082 #5A7DF0 #F05AC8
square
#F0CD5A #5AF082 #5A7DF0 #F05AC8
split-complementary
#F0CD5A #5AC8F0 #825AF0
monochromatic
#BE9611 #EBBC22 #F0CD5A #F5DE92 #FAEFCA
Accessibility & contrast
On white
1.55
#F0CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.59
#F0CD5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CD5A
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CD5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CD5A | 1.00 | 1.55 | 13.59 | 13.59 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA4D
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f0cd5a; /* rgb */ color: rgb(240, 205, 90); /* oklch */ color: oklch(85.7% 0.138 92.3);
Tailwind
colors: {
custom: {
50: '#f8db8d',
500: '#f0cd5a',
950: '#000000',
},
}SCSS
$custom: #f0cd5a; $custom-light: #f8db8d; $custom-dark: #000000;
JSON
{
"hex": "#f0cd5a",
"rgb": {
"r": 240,
"g": 205,
"b": 90
},
"hsl": {
"h": 46,
"s": 83.333,
"l": 64.706
},
"oklch": {
"l": 0.85687,
"c": 0.13805,
"h": 92.3
},
"luminance": 0.62926
}Semantic roles & 50–950 ramp
primary
#F0CD5A
secondary
#3252BD
accent
#39E006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F