#8A893B#8A893B

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

Color values

HEX#8A893B
RGBrgb(138, 137, 59)
HSLhsl(59, 40%, 39%)
HSVhsv(59, 57%, 54%)
CMYKcmyk(0%, 0.7%, 57.2%, 45.9%)
CIE-LABlab(55.70, -10.57, 41.16)
CIE-LCHlch(55.70, 42.50, 104.40°)
OKLaboklab(61.44% -0.0317 0.0955)
OKLCHoklch(61.44% 0.101 108.3)
XYZxyz(20.2169, 23.6109, 7.6292)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A893B #3B3C8A
analogous
#8A613B #8A893B #638A3B
triadic
#8A893B #3B8A89 #893B8A
tetradic
#8A893B #3B8A61 #3B3C8A #8A3B63
square
#8A893B #3B8A61 #3B3C8A #8A3B63
split-complementary
#8A893B #3B638A #613B8A
monochromatic
#343416 #5F5E29 #8A893B #B4B24F #C6C579

Accessibility & contrast

On white

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

On black

5.72
#8A893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A893B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A893B#FFFFFF#000000##000000
##8A893B1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938433
Deuteranopia (green-blind)
#95873F
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a893b;
/* rgb */ color: rgb(138, 137, 59);
/* oklch */ color: oklch(61.4% 0.101 108.3);
Tailwind
colors: {
  custom: {
    50: '#aeab74',
    500: '#8a893b',
    950: '#000000',
  },
}
SCSS
$custom: #8a893b;
$custom-light: #aeab74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a893b",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 59.241,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.10064,
    "h": 108.3
  },
  "luminance": 0.2361
}

Semantic roles & 50–950 ramp

primary
#8A893B
secondary
#7172AF
accent
#59D058
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A893B

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

Preview Lab → · Contrast checker → · Palette generator →

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