#8A7534#8A7534

#8A7534 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.088 H 91.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A7534
RGBrgb(138, 117, 52)
HSLhsl(45, 45%, 37%)
HSVhsv(45, 62%, 54%)
CMYKcmyk(0%, 15.2%, 62.3%, 45.9%)
CIE-LABlab(49.95, -0.01, 38.13)
CIE-LCHlch(49.95, 38.13, 90.01°)
OKLaboklab(56.86% -0.0023 0.0881)
OKLCHoklch(56.86% 0.088 91.5)
XYZxyz(17.4631, 18.3747, 5.8750)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7534 #34498A
analogous
#8A4A34 #8A7534 #748A34
triadic
#8A7534 #348A75 #75348A
tetradic
#8A7534 #348A4A #34498A #8A3474
square
#8A7534 #348A4A #34498A #8A3474
split-complementary
#8A7534 #34748A #4A348A
monochromatic
#312A13 #5E4F23 #8A7534 #B69B45 #C9B36F

Accessibility & contrast

On white

4.49
#8A7534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8A7534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7534
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7534#FFFFFF#000000##000000
##8A75341.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81732D
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#956C67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a7534;
/* rgb */ color: rgb(138, 117, 52);
/* oklch */ color: oklch(56.9% 0.088 91.5);
Tailwind
colors: {
  custom: {
    50: '#af9c6e',
    500: '#8a7534',
    950: '#000000',
  },
}
SCSS
$custom: #8a7534;
$custom-light: #af9c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7534",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 52
  },
  "hsl": {
    "h": 45.349,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.08814,
    "h": 91.5
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#8A7534
secondary
#697AB1
accent
#73D553
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7534

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

Preview Lab → · Contrast checker → · Palette generator →

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