#F0CA4E#F0CA4E
#F0CA4E is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 85.0% C 0.145 H 91.8°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CA4E |
|---|---|
| RGB | rgb(240, 202, 78) |
| HSL | hsl(46, 84%, 62%) |
| HSV | hsv(46, 68%, 94%) |
| CMYK | cmyk(0%, 15.8%, 67.5%, 5.9%) |
| CIE-LAB | lab(82.55, 0.37, 64.45) |
| CIE-LCH | lch(82.55, 64.45, 89.67°) |
| OKLab | oklab(84.98% -0.0045 0.145) |
| OKLCH | oklch(84.98% 0.145 91.8) |
| XYZ | xyz(58.4339, 61.3197, 15.9643) |
| Luminance | 0.6132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.45
Light Mustard
#F7D560
ΔE00 2.76
Light Gold
#FDDC5C
ΔE00 4.24
Pale Gold
#FDDE6C
ΔE00 4.87
Golden Yellow
#FEC615
ΔE00 5.23
Golden
#F5BF03
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CA4E #4E74F0
analogous
#F0794E #F0CA4E #C5F04E
triadic
#F0CA4E #4EF0CA #CA4EF0
tetradic
#F0CA4E #4EF079 #4E74F0 #F04EC5
square
#F0CA4E #4EF079 #4E74F0 #F04EC5
split-complementary
#F0CA4E #4EC5F0 #794EF0
monochromatic
#B48E0F #EBB916 #F0CA4E #F5DB86 #FAECBF
Accessibility & contrast
On white
1.58
#F0CA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.26
#F0CA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CA4E
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CA4E | 1.00 | 1.58 | 13.26 | 13.26 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC73E
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #f0ca4e; /* rgb */ color: rgb(240, 202, 78); /* oklch */ color: oklch(85.0% 0.145 91.8);
Tailwind
colors: {
custom: {
50: '#f9d986',
500: '#f0ca4e',
950: '#000000',
},
}SCSS
$custom: #f0ca4e; $custom-light: #f9d986; $custom-dark: #000000;
JSON
{
"hex": "#f0ca4e",
"rgb": {
"r": 240,
"g": 202,
"b": 78
},
"hsl": {
"h": 45.926,
"s": 84.375,
"l": 62.353
},
"oklch": {
"l": 0.8498,
"c": 0.14509,
"h": 91.8
},
"luminance": 0.61316
}Semantic roles & 50–950 ramp
primary
#F0CA4E
secondary
#2E4EB4
accent
#38E105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E