#F2C456#F2C456
#F2C456 is a very light, vivid orange. Relative luminance 0.590; OKLCH L 84.1% C 0.137 H 86.2°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C456 |
|---|---|
| RGB | rgb(242, 196, 86) |
| HSL | hsl(42, 86%, 64%) |
| HSV | hsv(42, 64%, 95%) |
| CMYK | cmyk(0%, 19%, 64.5%, 5.1%) |
| CIE-LAB | lab(81.31, 4.76, 59.79) |
| CIE-LCH | lch(81.31, 59.98, 85.45°) |
| OKLab | oklab(84.07% 0.009 0.1363) |
| OKLCH | oklch(84.07% 0.137 86.2) |
| XYZ | xyz(58.0407, 59.0326, 17.1397) |
| Luminance | 0.5903 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Maize
#F4D054
ΔE00 4.31
Macaroni And Cheese
#EFB435
ΔE00 4.84
Light Mustard
#F7D560
ΔE00 5.06
Golden
#F5BF03
ΔE00 5.28
Golden Yellow
#FEC615
ΔE00 5.35
Goldenrod (survey)
#FAC205
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C456 #5684F2
analogous
#F27656 #F2C456 #D2F256
triadic
#F2C456 #56F2C4 #C456F2
tetradic
#F2C456 #56F276 #5684F2 #F256D2
square
#F2C456 #56F276 #5684F2 #F256D2
split-complementary
#F2C456 #56D2F2 #7656F2
monochromatic
#BF8B0F #EEB01D #F2C456 #F6D88F #FBECC8
Accessibility & contrast
On white
1.64
#F2C456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.81
#F2C456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C456
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C456 | 1.00 | 1.64 | 12.81 | 12.81 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#FFB4AC
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #f2c456; /* rgb */ color: rgb(242, 196, 86); /* oklch */ color: oklch(84.1% 0.137 86.2);
Tailwind
colors: {
custom: {
50: '#fad58a',
500: '#f2c456',
950: '#000000',
},
}SCSS
$custom: #f2c456; $custom-light: #fad58a; $custom-dark: #000000;
JSON
{
"hex": "#f2c456",
"rgb": {
"r": 242,
"g": 196,
"b": 86
},
"hsl": {
"h": 42.308,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.84068,
"c": 0.1366,
"h": 86.2
},
"luminance": 0.59029
}Semantic roles & 50–950 ramp
primary
#F2C456
secondary
#2F59BD
accent
#45E203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F