#8A7834#8A7834

#8A7834 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.090 H 94.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A7834
RGBrgb(138, 120, 52)
HSLhsl(47, 45%, 37%)
HSVhsv(47, 62%, 54%)
CMYKcmyk(0%, 13%, 62.3%, 45.9%)
CIE-LABlab(50.79, -1.71, 39.07)
CIE-LCHlch(50.79, 39.11, 92.51°)
OKLaboklab(57.52% -0.0072 0.0901)
OKLCHoklch(57.52% 0.09 94.6)
XYZxyz(17.8183, 19.0850, 5.9934)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7834 #34468A
analogous
#8A4D34 #8A7834 #718A34
triadic
#8A7834 #348A78 #78348A
tetradic
#8A7834 #348A4D #34468A #8A3471
square
#8A7834 #348A4D #34468A #8A3471
split-complementary
#8A7834 #34718A #4D348A
monochromatic
#312B13 #5E5123 #8A7834 #B69F45 #C9B66F

Accessibility & contrast

On white

4.36
#8A7834 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A7834 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7834
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7834#FFFFFF#000000##000000
##8A78341.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#956F69
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7834;
/* rgb */ color: rgb(138, 120, 52);
/* oklch */ color: oklch(57.5% 0.090 94.6);
Tailwind
colors: {
  custom: {
    50: '#af9e6e',
    500: '#8a7834',
    950: '#000000',
  },
}
SCSS
$custom: #8a7834;
$custom-light: #af9e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7834",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 52
  },
  "hsl": {
    "h": 47.442,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.09041,
    "h": 94.6
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#8A7834
secondary
#6978B1
accent
#6ED553
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7834

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

Preview Lab → · Contrast checker → · Palette generator →

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