#AF992C#AF992C
#AF992C is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.3% C 0.126 H 97.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF992C |
|---|---|
| RGB | rgb(175, 153, 44) |
| HSL | hsl(50, 60%, 43%) |
| HSV | hsv(50, 75%, 69%) |
| CMYK | cmyk(0%, 12.6%, 74.9%, 31.4%) |
| CIE-LAB | lab(63.41, -3.65, 56.72) |
| CIE-LCH | lch(63.41, 56.84, 93.68°) |
| OKLab | oklab(68.34% -0.016 0.1249) |
| OKLCH | oklch(68.34% 0.126 97.3) |
| XYZ | xyz(29.5266, 32.0798, 7.0192) |
| Luminance | 0.3208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.76
Baby Poo
#AB9004
ΔE00 3.53
Baby Shit Brown
#AD900D
ΔE00 3.55
Dark Gold
#B59410
ΔE00 3.68
Yellow Brown
#B79400
ΔE00 4.38
Ocher
#BF9B0C
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF992C #2C42AF
analogous
#AF582C #AF992C #83AF2C
triadic
#AF992C #2CAF99 #992CAF
tetradic
#AF992C #2CAF58 #2C42AF #AF2C83
square
#AF992C #2CAF58 #2C42AF #AF2C83
split-complementary
#AF992C #2C83AF #582CAF
monochromatic
#4D4313 #7E6E20 #AF992C #D1BA47 #DDCC78
Accessibility & contrast
On white
2.83
#AF992C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#AF992C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF992C
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF992C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF992C | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99519
Deuteranopia (green-blind)
#AE9D33
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #af992c; /* rgb */ color: rgb(175, 153, 44); /* oklch */ color: oklch(68.3% 0.126 97.3);
Tailwind
colors: {
custom: {
50: '#cbb66d',
500: '#af992c',
950: '#000000',
},
}SCSS
$custom: #af992c; $custom-light: #cbb66d; $custom-dark: #000000;
JSON
{
"hex": "#af992c",
"rgb": {
"r": 175,
"g": 153,
"b": 44
},
"hsl": {
"h": 49.924,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.68335,
"c": 0.12591,
"h": 97.3
},
"luminance": 0.32078
}Semantic roles & 50–950 ramp
primary
#AF992C
secondary
#7280C5
accent
#5FE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A