#8A7B35#8A7B35

#8A7B35 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.092 H 97.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A7B35
RGBrgb(138, 123, 53)
HSLhsl(49, 45%, 37%)
HSVhsv(49, 62%, 54%)
CMYKcmyk(0%, 10.9%, 61.6%, 45.9%)
CIE-LABlab(51.64, -3.33, 39.53)
CIE-LCHlch(51.64, 39.67, 94.81°)
OKLaboklab(58.2% -0.0117 0.0913)
OKLCHoklch(58.2% 0.092 97.3)
XYZxyz(18.2075, 19.8270, 6.2354)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7B35 #35448A
analogous
#8A5135 #8A7B35 #6E8A35
triadic
#8A7B35 #358A7B #7B358A
tetradic
#8A7B35 #358A51 #35448A #8A356E
square
#8A7B35 #358A51 #35448A #8A356E
split-complementary
#8A7B35 #356E8A #51358A
monochromatic
#322C13 #5E5424 #8A7B35 #B6A246 #C8B971

Accessibility & contrast

On white

4.23
#8A7B35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A7B35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7B35
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7B35#FFFFFF#000000##000000
##8A7B351.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86782E
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#94726C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7b35;
/* rgb */ color: rgb(138, 123, 53);
/* oklch */ color: oklch(58.2% 0.092 97.3);
Tailwind
colors: {
  custom: {
    50: '#afa06f',
    500: '#8a7b35',
    950: '#000000',
  },
}
SCSS
$custom: #8a7b35;
$custom-light: #afa06f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7b35",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 53
  },
  "hsl": {
    "h": 49.412,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.582,
    "c": 0.092,
    "h": 97.3
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#8A7B35
secondary
#6A77B1
accent
#6AD454
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7B35

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

Preview Lab → · Contrast checker → · Palette generator →

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