#8A742E#8A742E

#8A742E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.093 H 91.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A742E
RGBrgb(138, 116, 46)
HSLhsl(46, 50%, 36%)
HSVhsv(46, 67%, 54%)
CMYKcmyk(0%, 15.9%, 66.7%, 45.9%)
CIE-LABlab(49.61, 0.13, 40.70)
CIE-LCHlch(49.61, 40.70, 89.81°)
OKLaboklab(56.57% -0.0026 0.0927)
OKLCHoklch(56.57% 0.093 91.6)
XYZxyz(17.2206, 18.0923, 5.1693)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A742E #2E448A
analogous
#8A462E #8A742E #728A2E
triadic
#8A742E #2E8A74 #742E8A
tetradic
#8A742E #2E8A46 #2E448A #8A2E72
square
#8A742E #2E8A46 #2E448A #8A2E72
split-complementary
#8A742E #2E728A #462E8A
monochromatic
#2E270F #5C4D1F #8A742E #B89B3D #CCB466

Accessibility & contrast

On white

4.55
#8A742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A742E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A742E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A742E#FFFFFF#000000##000000
##8A742E1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#956B65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a742e;
/* rgb */ color: rgb(138, 116, 46);
/* oklch */ color: oklch(56.6% 0.093 91.6);
Tailwind
colors: {
  custom: {
    50: '#af9b6a',
    500: '#8a742e',
    950: '#000000',
  },
}
SCSS
$custom: #8a742e;
$custom-light: #af9b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a742e",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 45.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.09273,
    "h": 91.6
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#8A742E
secondary
#6175B3
accent
#70DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A742E

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

Preview Lab → · Contrast checker → · Palette generator →

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