#F2C251#F2C251
#F2C251 is a very light, vivid orange. Relative luminance 0.581; OKLCH L 83.6% C 0.139 H 85.6°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C251 |
|---|---|
| RGB | rgb(242, 194, 81) |
| HSL | hsl(42, 86%, 63%) |
| HSV | hsv(42, 67%, 95%) |
| CMYK | cmyk(0%, 19.8%, 66.5%, 5.1%) |
| CIE-LAB | lab(80.77, 5.51, 61.38) |
| CIE-LCH | lch(80.77, 61.63, 84.87°) |
| OKLab | oklab(83.63% 0.0106 0.1389) |
| OKLCH | oklch(83.63% 0.139 85.6) |
| XYZ | xyz(57.3981, 58.0586, 15.9662) |
| Luminance | 0.5806 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 4.17
Maize
#F4D054
ΔE00 4.78
Golden
#F5BF03
ΔE00 4.84
Golden Rod
#F9BC08
ΔE00 4.92
Goldenrod (survey)
#FAC205
ΔE00 4.99
Marigold
#FCC006
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C251 #5181F2
analogous
#F27151 #F2C251 #D1F251
triadic
#F2C251 #51F2C2 #C251F2
tetradic
#F2C251 #51F271 #5181F2 #F251D1
square
#F2C251 #51F271 #5181F2 #F251D1
split-complementary
#F2C251 #51D1F2 #7151F2
monochromatic
#BB870E #EEAE18 #F2C251 #F6D68A #FBEAC3
Accessibility & contrast
On white
1.67
#F2C251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.61
#F2C251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C251
12.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C251 | 1.00 | 1.67 | 12.61 | 12.61 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#E3CE56
Tritanopia (blue-blind)
#FFB2AA
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #f2c251; /* rgb */ color: rgb(242, 194, 81); /* oklch */ color: oklch(83.6% 0.139 85.6);
Tailwind
colors: {
custom: {
50: '#fad487',
500: '#f2c251',
950: '#000000',
},
}SCSS
$custom: #f2c251; $custom-light: #fad487; $custom-dark: #000000;
JSON
{
"hex": "#f2c251",
"rgb": {
"r": 242,
"g": 194,
"b": 81
},
"hsl": {
"h": 42.112,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.83631,
"c": 0.13933,
"h": 85.6
},
"luminance": 0.58055
}Semantic roles & 50–950 ramp
primary
#F2C251
secondary
#2E57B9
accent
#46E303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F