#AF982C#AF982C
#AF982C is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.1% C 0.125 H 96.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF982C |
|---|---|
| RGB | rgb(175, 152, 44) |
| HSL | hsl(49, 60%, 43%) |
| HSV | hsv(49, 75%, 69%) |
| CMYK | cmyk(0%, 13.1%, 74.9%, 31.4%) |
| CIE-LAB | lab(63.14, -3.11, 56.46) |
| CIE-LCH | lch(63.14, 56.55, 93.15°) |
| OKLab | oklab(68.12% -0.0145 0.1243) |
| OKLCH | oklch(68.12% 0.125 96.6) |
| XYZ | xyz(29.3636, 31.7538, 6.9648) |
| Luminance | 0.3175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.68
Baby Shit Brown
#AD900D
ΔE00 3.24
Baby Poo
#AB9004
ΔE00 3.28
Dark Gold
#B59410
ΔE00 3.40
Yellow Brown
#B79400
ΔE00 4.13
Ocher
#BF9B0C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF982C #2C43AF
analogous
#AF572C #AF982C #84AF2C
triadic
#AF982C #2CAF98 #982CAF
tetradic
#AF982C #2CAF57 #2C43AF #AF2C84
square
#AF982C #2CAF57 #2C43AF #AF2C84
split-complementary
#AF982C #2C84AF #572CAF
monochromatic
#4D4313 #7E6E20 #AF982C #D1B947 #DDCB78
Accessibility & contrast
On white
2.86
#AF982C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#AF982C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF982C
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF982C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF982C | 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)
#A89519
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#BD8C83
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af982c; /* rgb */ color: rgb(175, 152, 44); /* oklch */ color: oklch(68.1% 0.125 96.6);
Tailwind
colors: {
custom: {
50: '#cbb56d',
500: '#af982c',
950: '#000000',
},
}SCSS
$custom: #af982c; $custom-light: #cbb56d; $custom-dark: #000000;
JSON
{
"hex": "#af982c",
"rgb": {
"r": 175,
"g": 152,
"b": 44
},
"hsl": {
"h": 49.466,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.68122,
"c": 0.12518,
"h": 96.6
},
"luminance": 0.31752
}Semantic roles & 50–950 ramp
primary
#AF982C
secondary
#7280C5
accent
#61E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A