#F2AF39#F2AF39
#F2AF39 is a light, vivid orange. Relative luminance 0.498; OKLCH L 79.8% C 0.149 H 77.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F2AF39 |
|---|---|
| RGB | rgb(242, 175, 57) |
| HSL | hsl(38, 88%, 59%) |
| HSV | hsv(38, 76%, 95%) |
| CMYK | cmyk(0%, 27.7%, 76.4%, 5.1%) |
| CIE-LAB | lab(75.97, 14.32, 66.23) |
| CIE-LCH | lch(75.97, 67.76, 77.80°) |
| OKLab | oklab(79.81% 0.0333 0.1448) |
| OKLCH | oklch(79.81% 0.149 77.1) |
| XYZ | xyz(52.6902, 49.8369, 10.7145) |
| Luminance | 0.4983 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Squash
#F2AB15
ΔE00 2.37
Macaroni And Cheese
#EFB435
ΔE00 2.83
Yellow Orange
#FCB001
ΔE00 3.35
Butterscotch
#FDB147
ΔE00 3.38
Saffron
#FEB209
ΔE00 3.46
Amber (survey)
#FEB308
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2AF39 #397CF2
analogous
#F25239 #F2AF39 #D9F239
triadic
#F2AF39 #39F2AF #AF39F2
tetradic
#F2AF39 #39F252 #397CF2 #F239D9
square
#F2AF39 #39F252 #397CF2 #F239D9
split-complementary
#F2AF39 #39D9F2 #5239F2
monochromatic
#A66E0B #DF940F #F2AF39 #F6C672 #FADDAC
Accessibility & contrast
On white
1.91
#F2AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.97
#F2AF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2AF39
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2AF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2AF39 | 1.00 | 1.91 | 10.97 | 10.97 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#FF9D98
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #f2af39; /* rgb */ color: rgb(242, 175, 57); /* oklch */ color: oklch(79.8% 0.149 77.1);
Tailwind
colors: {
custom: {
50: '#fcc678',
500: '#f2af39',
950: '#000000',
},
}SCSS
$custom: #f2af39; $custom-light: #fcc678; $custom-dark: #000000;
JSON
{
"hex": "#f2af39",
"rgb": {
"r": 242,
"g": 175,
"b": 57
},
"hsl": {
"h": 38.27,
"s": 87.678,
"l": 58.627
},
"oklch": {
"l": 0.79809,
"c": 0.14853,
"h": 77.1
},
"luminance": 0.49833
}Semantic roles & 50–950 ramp
primary
#F2AF39
secondary
#9FB9E8
accent
#77FE2A
background
#FFFCF7
surface
#FFF8EE
border
#D7D1C9
text
#191309
muted
#87827B