#8A7C32#8A7C32

#8A7C32 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.4% C 0.096 H 98.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A7C32
RGBrgb(138, 124, 50)
HSLhsl(50, 47%, 37%)
HSVhsv(50, 64%, 54%)
CMYKcmyk(0%, 10.1%, 63.8%, 45.9%)
CIE-LABlab(51.89, -4.11, 41.27)
CIE-LCHlch(51.89, 41.47, 95.68°)
OKLaboklab(58.39% -0.0143 0.0945)
OKLCHoklch(58.39% 0.096 98.6)
XYZxyz(18.2654, 20.0497, 5.9249)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C32 #32408A
analogous
#8A5032 #8A7C32 #6C8A32
triadic
#8A7C32 #328A7C #7C328A
tetradic
#8A7C32 #328A50 #32408A #8A326C
square
#8A7C32 #328A50 #32408A #8A326C
split-complementary
#8A7C32 #326C8A #50328A
monochromatic
#302B11 #5D5422 #8A7C32 #B7A442 #CABB6C

Accessibility & contrast

On white

4.19
#8A7C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A7C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C32
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C32#FFFFFF#000000##000000
##8A7C321.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88792A
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#94736C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7c32;
/* rgb */ color: rgb(138, 124, 50);
/* oklch */ color: oklch(58.4% 0.096 98.6);
Tailwind
colors: {
  custom: {
    50: '#afa16d',
    500: '#8a7c32',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c32;
$custom-light: #afa16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c32",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 50
  },
  "hsl": {
    "h": 50.455,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.0956,
    "h": 98.6
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#8A7C32
secondary
#6672B2
accent
#67D651
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7C32

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

Preview Lab → · Contrast checker → · Palette generator →

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