#F8C162#F8C162
#F8C162 is a very light, vivid orange. Relative luminance 0.590; OKLCH L 84.2% C 0.129 H 79.2°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F8C162 |
|---|---|
| RGB | rgb(248, 193, 98) |
| HSL | hsl(38, 91%, 68%) |
| HSV | hsv(38, 60%, 97%) |
| CMYK | cmyk(0%, 22.2%, 60.5%, 2.7%) |
| CIE-LAB | lab(81.28, 9.57, 54.46) |
| CIE-LCH | lch(81.28, 55.30, 80.03°) |
| OKLab | oklab(84.22% 0.0242 0.1264) |
| OKLCH | oklch(84.22% 0.129 79.2) |
| XYZ | xyz(59.9892, 58.9822, 19.7780) |
| Luminance | 0.5898 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 4.89
Butterscotch
#FDB147
ΔE00 5.75
Orangey Yellow
#FDB915
ΔE00 6.35
Amber (survey)
#FEB308
ΔE00 6.94
Golden Rod
#F9BC08
ΔE00 6.97
Saffron
#FEB209
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8C162 #6299F8
analogous
#F87662 #F8C162 #E4F862
triadic
#F8C162 #62F8C1 #C162F8
tetradic
#F8C162 #62F876 #6299F8 #F862E4
square
#F8C162 #62F876 #6299F8 #F862E4
split-complementary
#F8C162 #62E4F8 #7662F8
monochromatic
#D68B0A #F5AA27 #F8C162 #FBD89D #FDEFD7
Accessibility & contrast
On white
1.64
#F8C162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.80
#F8C162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8C162
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8C162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8C162 | 1.00 | 1.64 | 12.80 | 12.80 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C259
Deuteranopia (green-blind)
#E4CF65
Tritanopia (blue-blind)
#FFB1AC
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #f8c162; /* rgb */ color: rgb(248, 193, 98); /* oklch */ color: oklch(84.2% 0.129 79.2);
Tailwind
colors: {
custom: {
50: '#fed391',
500: '#f8c162',
950: '#000000',
},
}SCSS
$custom: #f8c162; $custom-light: #fed391; $custom-dark: #000000;
JSON
{
"hex": "#f8c162",
"rgb": {
"r": 248,
"g": 193,
"b": 98
},
"hsl": {
"h": 38,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.84219,
"c": 0.12864,
"h": 79.2
},
"luminance": 0.58978
}Semantic roles & 50–950 ramp
primary
#F8C162
secondary
#2E69D0
accent
#54E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F