#8A792B#8A792B
#8A792B is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.099 H 96.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A792B |
|---|---|
| RGB | rgb(138, 121, 43) |
| HSL | hsl(49, 52%, 35%) |
| HSV | hsv(49, 69%, 54%) |
| CMYK | cmyk(0%, 12.3%, 68.8%, 45.9%) |
| CIE-LAB | lab(50.98, -2.89, 43.55) |
| CIE-LCH | lch(50.98, 43.65, 93.80°) |
| OKLab | oklab(57.65% -0.0117 0.0982) |
| OKLCH | oklch(57.65% 0.099 96.8) |
| XYZ | xyz(17.7555, 19.2533, 5.0661) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.05
Baby Poop
#937C00
ΔE00 4.78
Poo
#8F7303
ΔE00 4.91
Puke Brown
#947706
ΔE00 4.97
Ugly Brown
#7D7103
ΔE00 5.00
Yellowish Brown
#9B7A01
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A792B #2B3C8A
analogous
#8A492B #8A792B #6B8A2B
triadic
#8A792B #2B8A79 #792B8A
tetradic
#8A792B #2B8A49 #2B3C8A #8A2B6B
square
#8A792B #2B8A49 #2B3C8A #8A2B6B
split-complementary
#8A792B #2B6B8A #492B8A
monochromatic
#2D270E #5B501C #8A792B #B9A23A #CEBB61
Accessibility & contrast
On white
4.33
#8A792B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#8A792B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A792B
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A792B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A792B | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a792b; /* rgb */ color: rgb(138, 121, 43); /* oklch */ color: oklch(57.6% 0.099 96.8);
Tailwind
colors: {
custom: {
50: '#af9f69',
500: '#8a792b',
950: '#000000',
},
}SCSS
$custom: #8a792b; $custom-light: #af9f69; $custom-dark: #000000;
JSON
{
"hex": "#8a792b",
"rgb": {
"r": 138,
"g": 121,
"b": 43
},
"hsl": {
"h": 49.263,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.57648,
"c": 0.09893,
"h": 96.8
},
"luminance": 0.19252
}Semantic roles & 50–950 ramp
primary
#8A792B
secondary
#5D6CB4
accent
#66DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A