#F0C662#F0C662
#F0C662 is a very light, vivid orange. Relative luminance 0.598; OKLCH L 84.4% C 0.127 H 86.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F0C662 |
|---|---|
| RGB | rgb(240, 198, 98) |
| HSL | hsl(42, 83%, 66%) |
| HSV | hsv(42, 59%, 94%) |
| CMYK | cmyk(0%, 17.5%, 59.2%, 5.9%) |
| CIE-LAB | lab(81.73, 3.67, 54.77) |
| CIE-LCH | lch(81.73, 54.89, 86.16°) |
| OKLab | oklab(84.39% 0.0075 0.1272) |
| OKLCH | oklch(84.39% 0.127 86.6) |
| XYZ | xyz(58.3367, 59.7986, 20.0225) |
| Luminance | 0.5979 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Maize
#F4D054
ΔE00 4.32
Light Mustard
#F7D560
ΔE00 4.72
Sand (survey)
#E2CA76
ΔE00 5.20
Wheat (survey)
#FBDD7E
ΔE00 5.92
Macaroni And Cheese
#EFB435
ΔE00 6.04
Mustard
#DBB42C
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0C662 #628CF0
analogous
#F07F62 #F0C662 #D3F062
triadic
#F0C662 #62F0C6 #C662F0
tetradic
#F0C662 #62F07F #628CF0 #F062D3
square
#F0C662 #62F07F #628CF0 #F062D3
split-complementary
#F0C662 #62D3F0 #7F62F0
monochromatic
#C59013 #EBB22A #F0C662 #F5DA9A #FBEFD2
Accessibility & contrast
On white
1.62
#F0C662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.96
#F0C662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0C662
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0C662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0C662 | 1.00 | 1.62 | 12.96 | 12.96 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#E4D066
Tritanopia (blue-blind)
#FFB7B0
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #f0c662; /* rgb */ color: rgb(240, 198, 98); /* oklch */ color: oklch(84.4% 0.127 86.6);
Tailwind
colors: {
custom: {
50: '#f8d792',
500: '#f0c662',
950: '#000000',
},
}SCSS
$custom: #f0c662; $custom-light: #f8d792; $custom-dark: #000000;
JSON
{
"hex": "#f0c662",
"rgb": {
"r": 240,
"g": 198,
"b": 98
},
"hsl": {
"h": 42.254,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.8439,
"c": 0.12742,
"h": 86.6
},
"luminance": 0.59795
}Semantic roles & 50–950 ramp
primary
#F0C662
secondary
#345EC2
accent
#47DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F