#8A762B#8A762B
#8A762B is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.097 H 94.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A762B |
|---|---|
| RGB | rgb(138, 118, 43) |
| HSL | hsl(47, 52%, 35%) |
| HSV | hsv(47, 69%, 54%) |
| CMYK | cmyk(0%, 14.5%, 68.8%, 45.9%) |
| CIE-LAB | lab(50.14, -1.20, 42.67) |
| CIE-LCH | lch(50.14, 42.69, 91.61°) |
| OKLab | oklab(56.98% -0.0069 0.0964) |
| OKLCH | oklch(56.98% 0.097 94.1) |
| XYZ | xyz(17.3966, 18.5355, 4.9464) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.69
Poo
#8F7303
ΔE00 4.32
Puke Brown
#947706
ΔE00 4.68
Ugly Brown
#7D7103
ΔE00 5.17
Baby Poop
#937C00
ΔE00 5.26
Yellowish Brown
#9B7A01
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A762B #2B3F8A
analogous
#8A462B #8A762B #6E8A2B
triadic
#8A762B #2B8A76 #762B8A
tetradic
#8A762B #2B8A46 #2B3F8A #8A2B6E
square
#8A762B #2B8A46 #2B3F8A #8A2B6E
split-complementary
#8A762B #2B6E8A #462B8A
monochromatic
#2D260E #5B4E1C #8A762B #B99E3A #CEB761
Accessibility & contrast
On white
4.46
#8A762B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#8A762B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A762B
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A762B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A762B | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a762b; /* rgb */ color: rgb(138, 118, 43); /* oklch */ color: oklch(57.0% 0.097 94.1);
Tailwind
colors: {
custom: {
50: '#af9d68',
500: '#8a762b',
950: '#000000',
},
}SCSS
$custom: #8a762b; $custom-light: #af9d68; $custom-dark: #000000;
JSON
{
"hex": "#8a762b",
"rgb": {
"r": 138,
"g": 118,
"b": 43
},
"hsl": {
"h": 47.368,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.56981,
"c": 0.0966,
"h": 94.1
},
"luminance": 0.18535
}Semantic roles & 50–950 ramp
primary
#8A762B
secondary
#5D6FB4
accent
#6ADC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A