#8A7E35#8A7E35

#8A7E35 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.095 H 100.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A7E35
RGBrgb(138, 126, 53)
HSLhsl(52, 45%, 37%)
HSVhsv(52, 62%, 54%)
CMYKcmyk(0%, 8.7%, 61.6%, 45.9%)
CIE-LABlab(52.49, -5.00, 40.48)
CIE-LCHlch(52.49, 40.79, 97.05°)
OKLaboklab(58.87% -0.0165 0.0933)
OKLCHoklch(58.87% 0.095 100)
XYZxyz(18.5854, 20.5828, 6.3614)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E35 #35418A
analogous
#8A5335 #8A7E35 #6C8A35
triadic
#8A7E35 #358A7E #7E358A
tetradic
#8A7E35 #358A53 #35418A #8A356C
square
#8A7E35 #358A53 #35418A #8A356C
split-complementary
#8A7E35 #356C8A #53358A
monochromatic
#322D13 #5E5624 #8A7E35 #B6A646 #C8BC71

Accessibility & contrast

On white

4.10
#8A7E35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A7E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E35
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E35#FFFFFF#000000##000000
##8A7E351.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2D
Deuteranopia (green-blind)
#8D7F39
Tritanopia (blue-blind)
#94766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e35;
/* rgb */ color: rgb(138, 126, 53);
/* oklch */ color: oklch(58.9% 0.095 100.0);
Tailwind
colors: {
  custom: {
    50: '#aea36f',
    500: '#8a7e35',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e35;
$custom-light: #aea36f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e35",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 51.529,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.09473,
    "h": 100
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#8A7E35
secondary
#6A74B1
accent
#66D454
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A7E35

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

Preview Lab → · Contrast checker → · Palette generator →

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