#8A791C#8A791C
#8A791C is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.109 H 98.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A791C |
|---|---|
| RGB | rgb(138, 121, 28) |
| HSL | hsl(51, 66%, 33%) |
| HSV | hsv(51, 80%, 54%) |
| CMYK | cmyk(0%, 12.3%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.88, -3.66, 49.53) |
| CIE-LCH | lch(50.88, 49.66, 94.22°) |
| OKLab | oklab(57.53% -0.0156 0.1079) |
| OKLCH | oklch(57.53% 0.109 98.2) |
| XYZ | xyz(17.5291, 19.1628, 3.8739) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.41
Baby Poop
#937C00
ΔE00 3.30
Ugly Brown
#7D7103
ΔE00 4.03
Poo
#8F7303
ΔE00 4.06
Puke Brown
#947706
ΔE00 4.07
Yellowish Brown
#9B7A01
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A791C #1C2D8A
analogous
#8A421C #8A791C #648A1C
triadic
#8A791C #1C8A79 #791C8A
tetradic
#8A791C #1C8A42 #1C2D8A #8A1C64
square
#8A791C #1C8A42 #1C2D8A #8A1C64
split-complementary
#8A791C #1C648A #421C8A
monochromatic
#242007 #574C12 #8A791C #BDA626 #DAC347
Accessibility & contrast
On white
4.35
#8A791C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#8A791C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A791C
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A791C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A791C | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#956F67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a791c; /* rgb */ color: rgb(138, 121, 28); /* oklch */ color: oklch(57.5% 0.109 98.2);
Tailwind
colors: {
custom: {
50: '#b09f61',
500: '#8a791c',
950: '#000000',
},
}SCSS
$custom: #8a791c; $custom-light: #b09f61; $custom-dark: #000000;
JSON
{
"hex": "#8a791c",
"rgb": {
"r": 138,
"g": 121,
"b": 28
},
"hsl": {
"h": 50.727,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.57531,
"c": 0.10906,
"h": 98.2
},
"luminance": 0.19162
}Semantic roles & 50–950 ramp
primary
#8A791C
secondary
#4658BB
accent
#59E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79