#F2C157#F2C157
#F2C157 is a very light, vivid orange. Relative luminance 0.577; OKLCH L 83.5% C 0.135 H 84.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C157 |
|---|---|
| RGB | rgb(242, 193, 87) |
| HSL | hsl(41, 86%, 65%) |
| HSV | hsv(41, 64%, 95%) |
| CMYK | cmyk(0%, 20.2%, 64%, 5.1%) |
| CIE-LAB | lab(80.58, 6.38, 58.54) |
| CIE-LCH | lch(80.58, 58.89, 83.78°) |
| OKLab | oklab(83.49% 0.0139 0.1338) |
| OKLCH | oklch(83.49% 0.135 84.1) |
| XYZ | xyz(57.4114, 57.7090, 17.1300) |
| Luminance | 0.5770 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 4.08
Golden Rod
#F9BC08
ΔE00 5.49
Maize
#F4D054
ΔE00 5.58
Golden
#F5BF03
ΔE00 5.69
Marigold
#FCC006
ΔE00 5.70
Orangey Yellow
#FDB915
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C157 #5788F2
analogous
#F27457 #F2C157 #D6F257
triadic
#F2C157 #57F2C1 #C157F2
tetradic
#F2C157 #57F274 #5788F2 #F257D6
square
#F2C157 #57F274 #5788F2 #F257D6
split-complementary
#F2C157 #57D6F2 #7457F2
monochromatic
#C0880F #EEAC1E #F2C157 #F6D690 #FBEBC9
Accessibility & contrast
On white
1.67
#F2C157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.54
#F2C157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C157
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C157 | 1.00 | 1.67 | 12.54 | 12.54 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#FFB1AA
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #f2c157; /* rgb */ color: rgb(242, 193, 87); /* oklch */ color: oklch(83.5% 0.135 84.1);
Tailwind
colors: {
custom: {
50: '#fad38a',
500: '#f2c157',
950: '#000000',
},
}SCSS
$custom: #f2c157; $custom-light: #fad38a; $custom-dark: #000000;
JSON
{
"hex": "#f2c157",
"rgb": {
"r": 242,
"g": 193,
"b": 87
},
"hsl": {
"h": 41.032,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.83494,
"c": 0.13451,
"h": 84.1
},
"luminance": 0.57705
}Semantic roles & 50–950 ramp
primary
#F2C157
secondary
#305CBE
accent
#4AE203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F