#AF972D#AF972D
#AF972D is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.124 H 95.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF972D |
|---|---|
| RGB | rgb(175, 151, 45) |
| HSL | hsl(49, 59%, 43%) |
| HSV | hsv(49, 74%, 69%) |
| CMYK | cmyk(0%, 13.7%, 74.3%, 31.4%) |
| CIE-LAB | lab(62.88, -2.52, 55.83) |
| CIE-LCH | lch(62.88, 55.89, 92.59°) |
| OKLab | oklab(67.92% -0.0127 0.1232) |
| OKLCH | oklch(67.92% 0.124 95.9) |
| XYZ | xyz(29.2210, 31.4382, 7.0112) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.78
Baby Shit Brown
#AD900D
ΔE00 3.02
Baby Poo
#AB9004
ΔE00 3.14
Dark Gold
#B59410
ΔE00 3.21
Yellow Brown
#B79400
ΔE00 3.96
Ocher
#BF9B0C
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF972D #2D45AF
analogous
#AF562D #AF972D #86AF2D
triadic
#AF972D #2DAF97 #972DAF
tetradic
#AF972D #2DAF56 #2D45AF #AF2D86
square
#AF972D #2DAF56 #2D45AF #AF2D86
split-complementary
#AF972D #2D86AF #562DAF
monochromatic
#4E4314 #7E6D20 #AF972D #D0B749 #DDCA7A
Accessibility & contrast
On white
2.88
#AF972D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#AF972D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF972D
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF972D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF972D | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#BD8B82
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af972d; /* rgb */ color: rgb(175, 151, 45); /* oklch */ color: oklch(67.9% 0.124 95.9);
Tailwind
colors: {
custom: {
50: '#cbb56d',
500: '#af972d',
950: '#000000',
},
}SCSS
$custom: #af972d; $custom-light: #cbb56d; $custom-dark: #000000;
JSON
{
"hex": "#af972d",
"rgb": {
"r": 175,
"g": 151,
"b": 45
},
"hsl": {
"h": 48.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.67915,
"c": 0.12385,
"h": 95.9
},
"luminance": 0.31437
}Semantic roles & 50–950 ramp
primary
#AF972D
secondary
#7382C5
accent
#62E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A