#F8C962#F8C962
#F8C962 is a very light, vivid orange. Relative luminance 0.626; OKLCH L 85.8% C 0.132 H 84.8°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F8C962 |
|---|---|
| RGB | rgb(248, 201, 98) |
| HSL | hsl(41, 91%, 68%) |
| HSV | hsv(41, 60%, 97%) |
| CMYK | cmyk(0%, 19%, 60.5%, 2.7%) |
| CIE-LAB | lab(83.24, 5.42, 56.69) |
| CIE-LCH | lch(83.24, 56.95, 84.54°) |
| OKLab | oklab(85.76% 0.0121 0.1312) |
| OKLCH | oklch(85.76% 0.132 84.8) |
| XYZ | xyz(61.8058, 62.6153, 20.3835) |
| Luminance | 0.6261 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Maize
#F4D054
ΔE00 4.65
Light Mustard
#F7D560
ΔE00 4.97
Macaroni And Cheese
#EFB435
ΔE00 5.87
Wheat (survey)
#FBDD7E
ΔE00 6.09
Golden Yellow
#FEC615
ΔE00 6.14
Sunflower
#FFC512
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8C962 #6291F8
analogous
#F87E62 #F8C962 #DCF862
triadic
#F8C962 #62F8C9 #C962F8
tetradic
#F8C962 #62F87E #6291F8 #F862DC
square
#F8C962 #62F87E #6291F8 #F862DC
split-complementary
#F8C962 #62DCF8 #7E62F8
monochromatic
#D6960A #F5B527 #F8C962 #FBDD9D #FDF1D7
Accessibility & contrast
On white
1.55
#F8C962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.52
#F8C962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8C962
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8C962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8C962 | 1.00 | 1.55 | 13.52 | 13.52 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC858
Deuteranopia (green-blind)
#EAD466
Tritanopia (blue-blind)
#FFBAB2
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #f8c962; /* rgb */ color: rgb(248, 201, 98); /* oklch */ color: oklch(85.8% 0.132 84.8);
Tailwind
colors: {
custom: {
50: '#fed992',
500: '#f8c962',
950: '#000000',
},
}SCSS
$custom: #f8c962; $custom-light: #fed992; $custom-dark: #000000;
JSON
{
"hex": "#f8c962",
"rgb": {
"r": 248,
"g": 201,
"b": 98
},
"hsl": {
"h": 41.2,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.85756,
"c": 0.1317,
"h": 84.8
},
"luminance": 0.62612
}Semantic roles & 50–950 ramp
primary
#F8C962
secondary
#2E61D0
accent
#48E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F