#FFAF40#FFAF40
#FFAF40 is a light, vivid orange. Relative luminance 0.523; OKLCH L 81.3% C 0.152 H 70.8°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #FFAF40 |
|---|---|
| RGB | rgb(255, 175, 64) |
| HSL | hsl(35, 100%, 63%) |
| HSV | hsv(35, 75%, 100%) |
| CMYK | cmyk(0%, 31.4%, 74.9%, 0%) |
| CIE-LAB | lab(77.46, 20.04, 65.47) |
| CIE-LCH | lch(77.46, 68.47, 72.98°) |
| OKLab | oklab(81.3% 0.05 0.144) |
| OKLCH | oklch(81.3% 0.152 70.8) |
| XYZ | xyz(57.4997, 52.2952, 11.9152) |
| Luminance | 0.5229 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Butterscotch
#FDB147
ΔE00 0.90
Mango
#FFA62B
ΔE00 2.55
Light Orange
#FDAA48
ΔE00 2.60
Yellowish Orange
#FFAB0F
ΔE00 3.37
Orange
#FFA500
ΔE00 3.67
Orange Yellow
#FFAD01
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFAF40 #4090FF
analogous
#FF4F40 #FFAF40 #F0FF40
triadic
#FFAF40 #40FFAF #AF40FF
tetradic
#FFAF40 #40FF4F #4090FF #FF40F0
square
#FFAF40 #40FF4F #4090FF #FF40F0
split-complementary
#FFAF40 #40F0FF #4F40FF
monochromatic
#C57200 #FF9503 #FFAF40 #FFC97D #FFE2BA
Accessibility & contrast
On white
1.83
#FFAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#FFAF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFAF40
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFAF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFAF40 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#DDC743
Tritanopia (blue-blind)
#FF9B99
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #ffaf40; /* rgb */ color: rgb(255, 175, 64); /* oklch */ color: oklch(81.3% 0.152 70.8);
Tailwind
colors: {
custom: {
50: '#ffc67c',
500: '#ffaf40',
950: '#000000',
},
}SCSS
$custom: #ffaf40; $custom-light: #ffc67c; $custom-dark: #000000;
JSON
{
"hex": "#ffaf40",
"rgb": {
"r": 255,
"g": 175,
"b": 64
},
"hsl": {
"h": 34.869,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.81302,
"c": 0.1524,
"h": 70.8
},
"luminance": 0.5229
}Semantic roles & 50–950 ramp
primary
#FFAF40
secondary
#2265C1
accent
#60E600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130A
muted
#87827D