#AF972C#AF972C
#AF972C is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.124 H 96.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF972C |
|---|---|
| RGB | rgb(175, 151, 44) |
| HSL | hsl(49, 60%, 43%) |
| HSV | hsv(49, 75%, 69%) |
| CMYK | cmyk(0%, 13.7%, 74.9%, 31.4%) |
| CIE-LAB | lab(62.87, -2.57, 56.20) |
| CIE-LCH | lch(62.87, 56.26, 92.62°) |
| OKLab | oklab(67.91% -0.0129 0.1238) |
| OKLCH | oklch(67.91% 0.124 96) |
| XYZ | xyz(29.2019, 31.4306, 6.9110) |
| Luminance | 0.3143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.68
Baby Shit Brown
#AD900D
ΔE00 2.96
Baby Poo
#AB9004
ΔE00 3.07
Dark Gold
#B59410
ΔE00 3.15
Yellow Brown
#B79400
ΔE00 3.91
Ocher
#BF9B0C
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF972C #2C44AF
analogous
#AF562C #AF972C #85AF2C
triadic
#AF972C #2CAF97 #972CAF
tetradic
#AF972C #2CAF56 #2C44AF #AF2C85
square
#AF972C #2CAF56 #2C44AF #AF2C85
split-complementary
#AF972C #2C85AF #562CAF
monochromatic
#4D4313 #7E6D20 #AF972C #D1B847 #DDCB78
Accessibility & contrast
On white
2.88
#AF972C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#AF972C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF972C
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF972C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF972C | 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)
#A79419
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#BD8B82
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af972c; /* rgb */ color: rgb(175, 151, 44); /* oklch */ color: oklch(67.9% 0.124 96.0);
Tailwind
colors: {
custom: {
50: '#cbb56d',
500: '#af972c',
950: '#000000',
},
}SCSS
$custom: #af972c; $custom-light: #cbb56d; $custom-dark: #000000;
JSON
{
"hex": "#af972c",
"rgb": {
"r": 175,
"g": 151,
"b": 44
},
"hsl": {
"h": 49.008,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.67908,
"c": 0.12446,
"h": 96
},
"luminance": 0.31429
}Semantic roles & 50–950 ramp
primary
#AF972C
secondary
#7281C5
accent
#62E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A