#A7992B#A7992B
#A7992B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.6% C 0.126 H 101.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A7992B |
|---|---|
| RGB | rgb(167, 153, 43) |
| HSL | hsl(53, 59%, 41%) |
| HSV | hsv(53, 74%, 65%) |
| CMYK | cmyk(0%, 8.4%, 74.3%, 34.5%) |
| CIE-LAB | lab(62.65, -7.27, 56.11) |
| CIE-LCH | lch(62.65, 56.57, 97.38°) |
| OKLab | oklab(67.56% -0.0259 0.1237) |
| OKLCH | oklch(67.56% 0.126 101.8) |
| XYZ | xyz(27.7649, 31.1736, 6.8397) |
| Luminance | 0.3117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.44
Baby Poo
#AB9004
ΔE00 4.79
Baby Shit Brown
#AD900D
ΔE00 5.11
Vomit
#A2A415
ΔE00 5.39
Puke
#A5A502
ΔE00 5.55
Dark Gold
#B59410
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7992B #2B39A7
analogous
#A75B2B #A7992B #77A72B
triadic
#A7992B #2BA799 #992BA7
tetradic
#A7992B #2BA75B #2B39A7 #A72B77
square
#A7992B #2BA75B #2B39A7 #A72B77
split-complementary
#A7992B #2B77A7 #5B2BA7
monochromatic
#464012 #766C1E #A7992B #CEBE41 #DBCF72
Accessibility & contrast
On white
2.90
#A7992B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#A7992B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7992B
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7992B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7992B | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#B48E84
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a7992b; /* rgb */ color: rgb(167, 153, 43); /* oklch */ color: oklch(67.6% 0.126 101.8);
Tailwind
colors: {
custom: {
50: '#c5b66c',
500: '#a7992b',
950: '#000000',
},
}SCSS
$custom: #a7992b; $custom-light: #c5b66c; $custom-dark: #000000;
JSON
{
"hex": "#a7992b",
"rgb": {
"r": 167,
"g": 153,
"b": 43
},
"hsl": {
"h": 53.226,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.67558,
"c": 0.1264,
"h": 101.8
},
"luminance": 0.31172
}Semantic roles & 50–950 ramp
primary
#A7992B
secondary
#6C76C2
accent
#57E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A