#AF982E#AF982E
#AF982E is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.1% C 0.124 H 96.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF982E |
|---|---|
| RGB | rgb(175, 152, 46) |
| HSL | hsl(49, 58%, 43%) |
| HSV | hsv(49, 74%, 69%) |
| CMYK | cmyk(0%, 13.1%, 73.7%, 31.4%) |
| CIE-LAB | lab(63.15, -3.02, 55.71) |
| CIE-LCH | lch(63.15, 55.80, 93.10°) |
| OKLab | oklab(68.14% -0.014 0.1232) |
| OKLCH | oklch(68.14% 0.124 96.5) |
| XYZ | xyz(29.4021, 31.7692, 7.1676) |
| Luminance | 0.3177 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.88
Baby Shit Brown
#AD900D
ΔE00 3.35
Baby Poo
#AB9004
ΔE00 3.41
Dark Gold
#B59410
ΔE00 3.50
Yellow Brown
#B79400
ΔE00 4.24
Ocher
#BF9B0C
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF982E #2E45AF
analogous
#AF572E #AF982E #85AF2E
triadic
#AF982E #2EAF98 #982EAF
tetradic
#AF982E #2EAF57 #2E45AF #AF2E85
square
#AF982E #2EAF57 #2E45AF #AF2E85
split-complementary
#AF982E #2E85AF #572EAF
monochromatic
#4E4415 #7F6E21 #AF982E #D0B84B #DCCB7B
Accessibility & contrast
On white
2.86
#AF982E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#AF982E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF982E
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF982E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF982E | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8951D
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af982e; /* rgb */ color: rgb(175, 152, 46); /* oklch */ color: oklch(68.1% 0.124 96.5);
Tailwind
colors: {
custom: {
50: '#cbb66e',
500: '#af982e',
950: '#000000',
},
}SCSS
$custom: #af982e; $custom-light: #cbb66e; $custom-dark: #000000;
JSON
{
"hex": "#af982e",
"rgb": {
"r": 175,
"g": 152,
"b": 46
},
"hsl": {
"h": 49.302,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.68136,
"c": 0.12394,
"h": 96.5
},
"luminance": 0.31768
}Semantic roles & 50–950 ramp
primary
#AF982E
secondary
#7482C5
accent
#62E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B