#F2C152#F2C152
#F2C152 is a very light, vivid orange. Relative luminance 0.576; OKLCH L 83.4% C 0.138 H 84.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C152 |
|---|---|
| RGB | rgb(242, 193, 82) |
| HSL | hsl(42, 86%, 64%) |
| HSV | hsv(42, 66%, 95%) |
| CMYK | cmyk(0%, 20.2%, 66.1%, 5.1%) |
| CIE-LAB | lab(80.53, 6.08, 60.70) |
| CIE-LCH | lch(80.53, 61.00, 84.28°) |
| OKLab | oklab(83.45% 0.0124 0.1376) |
| OKLCH | oklch(83.45% 0.138 84.9) |
| XYZ | xyz(57.2141, 57.6301, 16.0912) |
| Luminance | 0.5763 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 3.89
Golden Rod
#F9BC08
ΔE00 4.97
Golden
#F5BF03
ΔE00 5.06
Marigold
#FCC006
ΔE00 5.14
Goldenrod (survey)
#FAC205
ΔE00 5.22
Maize
#F4D054
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C152 #5283F2
analogous
#F27152 #F2C152 #D3F252
triadic
#F2C152 #52F2C1 #C152F2
tetradic
#F2C152 #52F271 #5283F2 #F252D3
square
#F2C152 #52F271 #5283F2 #F252D3
split-complementary
#F2C152 #52D3F2 #7152F2
monochromatic
#BC860E #EEAD19 #F2C152 #F6D58B #FBEAC4
Accessibility & contrast
On white
1.68
#F2C152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.53
#F2C152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C152
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C152 | 1.00 | 1.68 | 12.53 | 12.53 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#E3CD56
Tritanopia (blue-blind)
#FFB1A9
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #f2c152; /* rgb */ color: rgb(242, 193, 82); /* oklch */ color: oklch(83.4% 0.138 84.9);
Tailwind
colors: {
custom: {
50: '#fad387',
500: '#f2c152',
950: '#000000',
},
}SCSS
$custom: #f2c152; $custom-light: #fad387; $custom-dark: #000000;
JSON
{
"hex": "#f2c152",
"rgb": {
"r": 242,
"g": 193,
"b": 82
},
"hsl": {
"h": 41.625,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.83446,
"c": 0.13818,
"h": 84.9
},
"luminance": 0.57626
}Semantic roles & 50–950 ramp
primary
#F2C152
secondary
#2E59BA
accent
#47E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F