#8A893E#8A893E

#8A893E is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.098 H 108.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A893E
RGBrgb(138, 137, 62)
HSLhsl(59, 38%, 39%)
HSVhsv(59, 55%, 54%)
CMYKcmyk(0%, 0.7%, 55.1%, 45.9%)
CIE-LABlab(55.73, -10.31, 39.73)
CIE-LCHlch(55.73, 41.04, 104.56°)
OKLaboklab(61.48% -0.0306 0.0928)
OKLCHoklch(61.48% 0.098 108.3)
XYZxyz(20.2969, 23.6429, 8.0508)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A893E #3E3F8A
analogous
#8A633E #8A893E #658A3E
triadic
#8A893E #3E8A89 #893E8A
tetradic
#8A893E #3E8A63 #3E3F8A #8A3E65
square
#8A893E #3E8A63 #3E3F8A #8A3E65
split-complementary
#8A893E #3E658A #633E8A
monochromatic
#363518 #605F2B #8A893E #B2B153 #C5C47E

Accessibility & contrast

On white

3.67
#8A893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8A893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A893E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A893E#FFFFFF#000000##000000
##8A893E1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#948742
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a893e;
/* rgb */ color: rgb(138, 137, 62);
/* oklch */ color: oklch(61.5% 0.098 108.3);
Tailwind
colors: {
  custom: {
    50: '#aeab76',
    500: '#8a893e',
    950: '#000000',
  },
}
SCSS
$custom: #8a893e;
$custom-light: #aeab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a893e",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 59.211,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.09771,
    "h": 108.3
  },
  "luminance": 0.23642
}

Semantic roles & 50–950 ramp

primary
#8A893E
secondary
#7576AF
accent
#5BCE5A
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #8A893E

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

Preview Lab → · Contrast checker → · Palette generator →

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