#FFAF56#FFAF56
#FFAF56 is a light, vivid orange. Relative luminance 0.526; OKLCH L 81.5% C 0.140 H 66.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #FFAF56 |
|---|---|
| RGB | rgb(255, 175, 86) |
| HSL | hsl(32, 100%, 67%) |
| HSV | hsv(32, 66%, 100%) |
| CMYK | cmyk(0%, 31.4%, 66.3%, 0%) |
| CIE-LAB | lab(77.64, 21.11, 56.15) |
| CIE-LCH | lch(77.64, 59.99, 69.40°) |
| OKLab | oklab(81.5% 0.0561 0.1281) |
| OKLCH | oklch(81.5% 0.14 66.4) |
| XYZ | xyz(58.2537, 52.5968, 15.8865) |
| Luminance | 0.5259 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Light Orange
#FDAA48
ΔE00 1.68
Pale Orange
#FFA756
ΔE00 3.30
Butterscotch
#FDB147
ΔE00 3.31
Apricot (survey)
#FFB16D
ΔE00 4.02
Mango
#FFA62B
ΔE00 4.31
Sandybrown
#F4A460
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFAF56 #56A6FF
analogous
#FF5B56 #FFAF56 #FAFF56
triadic
#FFAF56 #56FFAF #AF56FF
tetradic
#FFAF56 #56FF5B #56A6FF #FF56FA
square
#FFAF56 #56FF5B #56A6FF #FF56FA
split-complementary
#FFAF56 #56FAFF #5B56FF
monochromatic
#DB7300 #FF9219 #FFAF56 #FFCC93 #FFE9D0
Accessibility & contrast
On white
1.82
#FFAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#FFAF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFAF56
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFAF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFAF56 | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B54D
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#FF9C9B
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #ffaf56; /* rgb */ color: rgb(255, 175, 86); /* oklch */ color: oklch(81.5% 0.140 66.4);
Tailwind
colors: {
custom: {
50: '#ffc789',
500: '#ffaf56',
950: '#000000',
},
}SCSS
$custom: #ffaf56; $custom-light: #ffc789; $custom-dark: #000000;
JSON
{
"hex": "#ffaf56",
"rgb": {
"r": 255,
"g": 175,
"b": 86
},
"hsl": {
"h": 31.598,
"s": 100,
"l": 66.863
},
"oklch": {
"l": 0.81499,
"c": 0.13987,
"h": 66.4
},
"luminance": 0.52592
}Semantic roles & 50–950 ramp
primary
#FFAF56
secondary
#2578D4
accent
#6DE600
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#19130C
muted
#87827F