#8A762A#8A762A
#8A762A is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.097 H 94.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A762A |
|---|---|
| RGB | rgb(138, 118, 42) |
| HSL | hsl(48, 53%, 35%) |
| HSV | hsv(48, 70%, 54%) |
| CMYK | cmyk(0%, 14.5%, 69.6%, 45.9%) |
| CIE-LAB | lab(50.13, -1.26, 43.12) |
| CIE-LCH | lch(50.13, 43.14, 91.67°) |
| OKLab | oklab(56.97% -0.0072 0.0971) |
| OKLCH | oklch(56.97% 0.097 94.2) |
| XYZ | xyz(17.3784, 18.5282, 4.8510) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.55
Poo
#8F7303
ΔE00 4.20
Puke Brown
#947706
ΔE00 4.57
Ugly Brown
#7D7103
ΔE00 5.06
Baby Poop
#937C00
ΔE00 5.13
Yellowish Brown
#9B7A01
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A762A #2A3E8A
analogous
#8A462A #8A762A #6E8A2A
triadic
#8A762A #2A8A76 #762A8A
tetradic
#8A762A #2A8A46 #2A3E8A #8A2A6E
square
#8A762A #2A8A46 #2A3E8A #8A2A6E
split-complementary
#8A762A #2A6E8A #462A8A
monochromatic
#2C260D #5B4E1C #8A762A #B99E38 #CFB760
Accessibility & contrast
On white
4.46
#8A762A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#8A762A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A762A
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A762A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A762A | 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)
#827420
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a762a; /* rgb */ color: rgb(138, 118, 42); /* oklch */ color: oklch(57.0% 0.097 94.2);
Tailwind
colors: {
custom: {
50: '#af9d68',
500: '#8a762a',
950: '#000000',
},
}SCSS
$custom: #8a762a; $custom-light: #af9d68; $custom-dark: #000000;
JSON
{
"hex": "#8a762a",
"rgb": {
"r": 138,
"g": 118,
"b": 42
},
"hsl": {
"h": 47.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.56971,
"c": 0.09739,
"h": 94.2
},
"luminance": 0.18527
}Semantic roles & 50–950 ramp
primary
#8A762A
secondary
#5B6EB4
accent
#69DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A