#FFAF33#FFAF33
#FFAF33 is a light, vivid orange. Relative luminance 0.522; OKLCH L 81.2% C 0.158 H 72.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #FFAF33 |
|---|---|
| RGB | rgb(255, 175, 51) |
| HSL | hsl(36, 100%, 60%) |
| HSV | hsv(36, 80%, 100%) |
| CMYK | cmyk(0%, 31.4%, 80%, 0%) |
| CIE-LAB | lab(77.38, 19.58, 70.20) |
| CIE-LCH | lch(77.38, 72.88, 74.42°) |
| OKLab | oklab(81.22% 0.0472 0.1512) |
| OKLCH | oklch(81.22% 0.158 72.7) |
| XYZ | xyz(57.1719, 52.1641, 10.1890) |
| Luminance | 0.5216 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Butterscotch
#FDB147
ΔE00 1.91
Yellowish Orange
#FFAB0F
ΔE00 2.01
Orange Yellow
#FFAD01
ΔE00 2.58
Mango
#FFA62B
ΔE00 2.92
Orange
#FFA500
ΔE00 2.96
Yellow Orange
#FCB001
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFAF33 #3383FF
analogous
#FF4933 #FFAF33 #E9FF33
triadic
#FFAF33 #33FFAF #AF33FF
tetradic
#FFAF33 #33FF49 #3383FF #FF33E9
square
#FFAF33 #33FF49 #3383FF #FF33E9
split-complementary
#FFAF33 #33E9FF #4933FF
monochromatic
#B87000 #F59500 #FFAF33 #FFC770 #FFDFAD
Accessibility & contrast
On white
1.84
#FFAF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#FFAF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFAF33
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFAF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFAF33 | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB41A
Deuteranopia (green-blind)
#DEC737
Tritanopia (blue-blind)
#FF9B97
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #ffaf33; /* rgb */ color: rgb(255, 175, 51); /* oklch */ color: oklch(81.2% 0.158 72.7);
Tailwind
colors: {
custom: {
50: '#ffc675',
500: '#ffaf33',
950: '#000000',
},
}SCSS
$custom: #ffaf33; $custom-light: #ffc675; $custom-dark: #000000;
JSON
{
"hex": "#ffaf33",
"rgb": {
"r": 255,
"g": 175,
"b": 51
},
"hsl": {
"h": 36.471,
"s": 100,
"l": 60
},
"oklch": {
"l": 0.81216,
"c": 0.15842,
"h": 72.7
},
"luminance": 0.52159
}Semantic roles & 50–950 ramp
primary
#FFAF33
secondary
#205BB6
accent
#7DFF29
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#1A1309
muted
#87827D