#8A7A34#8A7A34

#8A7A34 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.092 H 96.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A7A34
RGBrgb(138, 122, 52)
HSLhsl(49, 45%, 37%)
HSVhsv(49, 62%, 54%)
CMYKcmyk(0%, 11.6%, 62.3%, 45.9%)
CIE-LABlab(51.35, -2.84, 39.70)
CIE-LCHlch(51.35, 39.80, 94.09°)
OKLaboklab(57.97% -0.0104 0.0915)
OKLCHoklch(57.97% 0.092 96.5)
XYZxyz(18.0614, 19.5711, 6.0744)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A34 #34448A
analogous
#8A4F34 #8A7A34 #6F8A34
triadic
#8A7A34 #348A7A #7A348A
tetradic
#8A7A34 #348A4F #34448A #8A346F
square
#8A7A34 #348A4F #34448A #8A346F
split-complementary
#8A7A34 #346F8A #4F348A
monochromatic
#312B13 #5E5323 #8A7A34 #B6A145 #C9B86F

Accessibility & contrast

On white

4.27
#8A7A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A7A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A34
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A34#FFFFFF#000000##000000
##8A7A341.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86772D
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#94716B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a34;
/* rgb */ color: rgb(138, 122, 52);
/* oklch */ color: oklch(58.0% 0.092 96.5);
Tailwind
colors: {
  custom: {
    50: '#afa06e',
    500: '#8a7a34',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a34;
$custom-light: #afa06e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a34",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 48.837,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.09206,
    "h": 96.5
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#8A7A34
secondary
#6976B1
accent
#6BD553
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7A34

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

Preview Lab → · Contrast checker → · Palette generator →

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