#8A7835#8A7835

#8A7835 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.089 H 94.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A7835
RGBrgb(138, 120, 53)
HSLhsl(47, 45%, 37%)
HSVhsv(47, 62%, 54%)
CMYKcmyk(0%, 13%, 61.6%, 45.9%)
CIE-LABlab(50.80, -1.63, 38.58)
CIE-LCHlch(50.80, 38.62, 92.43°)
OKLaboklab(57.53% -0.0068 0.0892)
OKLCHoklch(57.53% 0.089 94.4)
XYZxyz(17.8411, 19.0941, 6.1133)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7835 #35478A
analogous
#8A4D35 #8A7835 #728A35
triadic
#8A7835 #358A78 #78358A
tetradic
#8A7835 #358A4D #35478A #8A3572
square
#8A7835 #358A4D #35478A #8A3572
split-complementary
#8A7835 #35728A #4D358A
monochromatic
#322B13 #5E5224 #8A7835 #B69E46 #C8B671

Accessibility & contrast

On white

4.36
#8A7835 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A7835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7835
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7835#FFFFFF#000000##000000
##8A78351.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762E
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#946F69
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7835;
/* rgb */ color: rgb(138, 120, 53);
/* oklch */ color: oklch(57.5% 0.089 94.4);
Tailwind
colors: {
  custom: {
    50: '#af9e6f',
    500: '#8a7835',
    950: '#000000',
  },
}
SCSS
$custom: #8a7835;
$custom-light: #af9e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7835",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 53
  },
  "hsl": {
    "h": 47.294,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.08948,
    "h": 94.4
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#8A7835
secondary
#6A79B1
accent
#6FD454
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7835

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A7835 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva