#F0C562#F0C562
#F0C562 is a very light, vivid orange. Relative luminance 0.593; OKLCH L 84.2% C 0.127 H 85.9°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F0C562 |
|---|---|
| RGB | rgb(240, 197, 98) |
| HSL | hsl(42, 83%, 66%) |
| HSV | hsv(42, 59%, 94%) |
| CMYK | cmyk(0%, 17.9%, 59.2%, 5.9%) |
| CIE-LAB | lab(81.48, 4.19, 54.48) |
| CIE-LCH | lch(81.48, 54.64, 85.60°) |
| OKLab | oklab(84.19% 0.009 0.1266) |
| OKLCH | oklch(84.19% 0.127 85.9) |
| XYZ | xyz(58.1089, 59.3430, 19.9466) |
| Luminance | 0.5934 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Maize
#F4D054
ΔE00 4.70
Light Mustard
#F7D560
ΔE00 5.11
Sand (survey)
#E2CA76
ΔE00 5.43
Macaroni And Cheese
#EFB435
ΔE00 5.79
Wheat (survey)
#FBDD7E
ΔE00 6.24
Mustard
#DBB42C
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0C562 #628DF0
analogous
#F07E62 #F0C562 #D4F062
triadic
#F0C562 #62F0C5 #C562F0
tetradic
#F0C562 #62F07E #628DF0 #F062D4
square
#F0C562 #62F07E #628DF0 #F062D4
split-complementary
#F0C562 #62D4F0 #7E62F0
monochromatic
#C58F13 #EBB02A #F0C562 #F5DA9A #FBEED2
Accessibility & contrast
On white
1.63
#F0C562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.87
#F0C562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0C562
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0C562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0C562 | 1.00 | 1.63 | 12.87 | 12.87 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#E4CF66
Tritanopia (blue-blind)
#FFB6AF
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #f0c562; /* rgb */ color: rgb(240, 197, 98); /* oklch */ color: oklch(84.2% 0.127 85.9);
Tailwind
colors: {
custom: {
50: '#f8d692',
500: '#f0c562',
950: '#000000',
},
}SCSS
$custom: #f0c562; $custom-light: #f8d692; $custom-dark: #000000;
JSON
{
"hex": "#f0c562",
"rgb": {
"r": 240,
"g": 197,
"b": 98
},
"hsl": {
"h": 41.831,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.84194,
"c": 0.12691,
"h": 85.9
},
"luminance": 0.5934
}Semantic roles & 50–950 ramp
primary
#F0C562
secondary
#345FC2
accent
#48DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F