#8A7C35#8A7C35

#8A7C35 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.093 H 98.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8A7C35
RGBrgb(138, 124, 53)
HSLhsl(50, 45%, 37%)
HSVhsv(50, 62%, 54%)
CMYKcmyk(0%, 10.1%, 61.6%, 45.9%)
CIE-LABlab(51.92, -3.89, 39.85)
CIE-LCHlch(51.92, 40.04, 95.57°)
OKLaboklab(58.42% -0.0133 0.0919)
OKLCHoklch(58.42% 0.093 98.2)
XYZxyz(18.3322, 20.0764, 6.2770)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C35 #35438A
analogous
#8A5235 #8A7C35 #6D8A35
triadic
#8A7C35 #358A7C #7C358A
tetradic
#8A7C35 #358A52 #35438A #8A356D
square
#8A7C35 #358A52 #35438A #8A356D
split-complementary
#8A7C35 #356D8A #52358A
monochromatic
#322D13 #5E5424 #8A7C35 #B6A446 #C8BA71

Accessibility & contrast

On white

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

On black

5.02
#8A7C35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C35
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C35#FFFFFF#000000##000000
##8A7C351.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792D
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#94736C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7c35;
/* rgb */ color: rgb(138, 124, 53);
/* oklch */ color: oklch(58.4% 0.093 98.2);
Tailwind
colors: {
  custom: {
    50: '#afa16f',
    500: '#8a7c35',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c35;
$custom-light: #afa16f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c35",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 53
  },
  "hsl": {
    "h": 50.118,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.09289,
    "h": 98.2
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#8A7C35
secondary
#6A76B1
accent
#69D454
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7C35

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

Preview Lab → · Contrast checker → · Palette generator →

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