#F2C04F#F2C04F
#F2C04F is a very light, vivid orange. Relative luminance 0.571; OKLCH L 83.2% C 0.140 H 84.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C04F |
|---|---|
| RGB | rgb(242, 192, 79) |
| HSL | hsl(42, 86%, 63%) |
| HSV | hsv(42, 67%, 95%) |
| CMYK | cmyk(0%, 20.7%, 67.4%, 5.1%) |
| CIE-LAB | lab(80.26, 6.44, 61.70) |
| CIE-LCH | lch(80.26, 62.03, 84.04°) |
| OKLab | oklab(83.22% 0.013 0.1393) |
| OKLCH | oklch(83.22% 0.14 84.7) |
| XYZ | xyz(56.8821, 57.1448, 15.4297) |
| Luminance | 0.5714 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 3.54
Golden Rod
#F9BC08
ΔE00 4.66
Golden
#F5BF03
ΔE00 4.83
Marigold
#FCC006
ΔE00 4.88
Goldenrod (survey)
#FAC205
ΔE00 5.01
Orangey Yellow
#FDB915
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C04F #4F81F2
analogous
#F26E4F #F2C04F #D2F24F
triadic
#F2C04F #4FF2C0 #C04FF2
tetradic
#F2C04F #4FF26E #4F81F2 #F24FD2
square
#F2C04F #4FF26E #4F81F2 #F24FD2
split-complementary
#F2C04F #4FD2F2 #6E4FF2
monochromatic
#B9840E #EEAC16 #F2C04F #F6D488 #FAE9C1
Accessibility & contrast
On white
1.69
#F2C04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.43
#F2C04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C04F
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C04F | 1.00 | 1.69 | 12.43 | 12.43 |
| #FFFFFF | 1.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#FFB0A8
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #f2c04f; /* rgb */ color: rgb(242, 192, 79); /* oklch */ color: oklch(83.2% 0.140 84.7);
Tailwind
colors: {
custom: {
50: '#fad285',
500: '#f2c04f',
950: '#000000',
},
}SCSS
$custom: #f2c04f; $custom-light: #fad285; $custom-dark: #000000;
JSON
{
"hex": "#f2c04f",
"rgb": {
"r": 242,
"g": 192,
"b": 79
},
"hsl": {
"h": 41.595,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.83224,
"c": 0.13988,
"h": 84.7
},
"luminance": 0.57141
}Semantic roles & 50–950 ramp
primary
#F2C04F
secondary
#2D58B8
accent
#47E303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E