#8A893A#8A893A

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

Color values

HEX#8A893A
RGBrgb(138, 137, 58)
HSLhsl(59, 41%, 38%)
HSVhsv(59, 58%, 54%)
CMYKcmyk(0%, 0.7%, 58%, 45.9%)
CIE-LABlab(55.69, -10.65, 41.63)
CIE-LCHlch(55.69, 42.97, 104.35°)
OKLaboklab(61.43% -0.032 0.0964)
OKLCHoklch(61.43% 0.102 108.4)
XYZxyz(20.1912, 23.6006, 7.4939)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A893A #3A3B8A
analogous
#8A613A #8A893A #638A3A
triadic
#8A893A #3A8A89 #893A8A
tetradic
#8A893A #3A8A61 #3A3B8A #8A3A63
square
#8A893A #3A8A61 #3A3B8A #8A3A63
split-complementary
#8A893A #3A638A #613A8A
monochromatic
#343316 #5F5E28 #8A893A #B4B34D #C6C578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A893A#FFFFFF#000000##000000
##8A893A1.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)
#938432
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a893a;
/* rgb */ color: rgb(138, 137, 58);
/* oklch */ color: oklch(61.4% 0.102 108.4);
Tailwind
colors: {
  custom: {
    50: '#aeab73',
    500: '#8a893a',
    950: '#000000',
  },
}
SCSS
$custom: #8a893a;
$custom-light: #aeab73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a893a",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 59.25,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.10159,
    "h": 108.4
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#8A893A
secondary
#7071B0
accent
#59D157
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A893A

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

Preview Lab → · Contrast checker → · Palette generator →

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