#8A893D#8A893D

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

Color values

HEX#8A893D
RGBrgb(138, 137, 61)
HSLhsl(59, 39%, 39%)
HSVhsv(59, 56%, 54%)
CMYKcmyk(0%, 0.7%, 55.8%, 45.9%)
CIE-LABlab(55.72, -10.40, 40.21)
CIE-LCHlch(55.72, 41.53, 104.50°)
OKLaboklab(61.47% -0.031 0.0937)
OKLCHoklch(61.47% 0.099 108.3)
XYZxyz(20.2697, 23.6321, 7.9077)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A893D #3D3E8A
analogous
#8A633D #8A893D #658A3D
triadic
#8A893D #3D8A89 #893D8A
tetradic
#8A893D #3D8A63 #3D3E8A #8A3D65
square
#8A893D #3D8A63 #3D3E8A #8A3D65
split-complementary
#8A893D #3D658A #633D8A
monochromatic
#353517 #605F2A #8A893D #B2B152 #C5C47C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A893D#FFFFFF#000000##000000
##8A893D1.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)
#938435
Deuteranopia (green-blind)
#948741
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a893d;
/* rgb */ color: rgb(138, 137, 61);
/* oklch */ color: oklch(61.5% 0.099 108.3);
Tailwind
colors: {
  custom: {
    50: '#aeab75',
    500: '#8a893d',
    950: '#000000',
  },
}
SCSS
$custom: #8a893d;
$custom-light: #aeab75;
$custom-dark: #000000;
JSON
{
  "hex": "#8a893d",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 59.221,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.0987,
    "h": 108.3
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#8A893D
secondary
#7474AF
accent
#5BCF59
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A893D

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

Preview Lab → · Contrast checker → · Palette generator →

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