#8A7D35#8A7D35

#8A7D35 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.094 H 99.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A7D35
RGBrgb(138, 125, 53)
HSLhsl(51, 45%, 37%)
HSVhsv(51, 62%, 54%)
CMYKcmyk(0%, 9.4%, 61.6%, 45.9%)
CIE-LABlab(52.21, -4.45, 40.16)
CIE-LCHlch(52.21, 40.41, 96.32°)
OKLaboklab(58.65% -0.0149 0.0926)
OKLCHoklch(58.65% 0.094 99.2)
XYZxyz(18.4582, 20.3283, 6.3190)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D35 #35428A
analogous
#8A5335 #8A7D35 #6C8A35
triadic
#8A7D35 #358A7D #7D358A
tetradic
#8A7D35 #358A53 #35428A #8A356C
square
#8A7D35 #358A53 #35428A #8A356C
split-complementary
#8A7D35 #356C8A #53358A
monochromatic
#322D13 #5E5524 #8A7D35 #B6A546 #C8BB71

Accessibility & contrast

On white

4.15
#8A7D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A7D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D35
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D35#FFFFFF#000000##000000
##8A7D351.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2D
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#94746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7d35;
/* rgb */ color: rgb(138, 125, 53);
/* oklch */ color: oklch(58.6% 0.094 99.2);
Tailwind
colors: {
  custom: {
    50: '#afa26f',
    500: '#8a7d35',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d35;
$custom-light: #afa26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d35",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 50.824,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.09379,
    "h": 99.2
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#8A7D35
secondary
#6A75B1
accent
#67D454
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8A7D35

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

Preview Lab → · Contrast checker → · Palette generator →

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