#8A751B#8A751B
#8A751B is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.6% C 0.107 H 95.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A751B |
|---|---|
| RGB | rgb(138, 117, 27) |
| HSL | hsl(49, 67%, 32%) |
| HSV | hsv(49, 80%, 54%) |
| CMYK | cmyk(0%, 15.2%, 80.4%, 45.9%) |
| CIE-LAB | lab(49.74, -1.44, 48.85) |
| CIE-LCH | lch(49.74, 48.87, 91.69°) |
| OKLab | oklab(56.63% -0.0094 0.1063) |
| OKLCH | oklch(56.63% 0.107 95.1) |
| XYZ | xyz(17.0413, 18.2060, 3.6532) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.21
Poo
#8F7303
ΔE00 2.71
Puke Brown
#947706
ΔE00 3.31
Baby Poop
#937C00
ΔE00 3.86
Ugly Brown
#7D7103
ΔE00 4.01
Yellowish Brown
#9B7A01
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A751B #1B308A
analogous
#8A3E1B #8A751B #678A1B
triadic
#8A751B #1B8A75 #751B8A
tetradic
#8A751B #1B8A3E #1B308A #8A1B67
square
#8A751B #1B8A3E #1B308A #8A1B67
split-complementary
#8A751B #1B678A #3E1B8A
monochromatic
#241E07 #574A11 #8A751B #BDA025 #DBBE45
Accessibility & contrast
On white
4.52
#8A751B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8A751B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A751B
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A751B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A751B | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827307
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#966B64
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8a751b; /* rgb */ color: rgb(138, 117, 27); /* oklch */ color: oklch(56.6% 0.107 95.1);
Tailwind
colors: {
custom: {
50: '#b09c60',
500: '#8a751b',
950: '#000000',
},
}SCSS
$custom: #8a751b; $custom-light: #b09c60; $custom-dark: #000000;
JSON
{
"hex": "#8a751b",
"rgb": {
"r": 138,
"g": 117,
"b": 27
},
"hsl": {
"h": 48.649,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.56633,
"c": 0.1067,
"h": 95.1
},
"luminance": 0.18205
}Semantic roles & 50–950 ramp
primary
#8A751B
secondary
#455BBC
accent
#5EEA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79