#8A893F#8A893F

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

Color values

HEX#8A893F
RGBrgb(138, 137, 63)
HSLhsl(59, 37%, 39%)
HSVhsv(59, 54%, 54%)
CMYKcmyk(0%, 0.7%, 54.3%, 45.9%)
CIE-LABlab(55.74, -10.23, 39.24)
CIE-LCHlch(55.74, 40.55, 104.61°)
OKLaboklab(61.49% -0.0302 0.0919)
OKLCHoklch(61.49% 0.097 108.2)
XYZxyz(20.3246, 23.6540, 8.1967)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A893F #3F408A
analogous
#8A643F #8A893F #668A3F
triadic
#8A893F #3F8A89 #893F8A
tetradic
#8A893F #3F8A64 #3F408A #8A3F66
square
#8A893F #3F8A64 #3F408A #8A3F66
split-complementary
#8A893F #3F668A #643F8A
monochromatic
#363619 #605F2C #8A893F #B1B055 #C5C47F

Accessibility & contrast

On white

3.66
#8A893F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A893F#FFFFFF#000000##000000
##8A893F1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938438
Deuteranopia (green-blind)
#948743
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a893f;
/* rgb */ color: rgb(138, 137, 63);
/* oklch */ color: oklch(61.5% 0.097 108.2);
Tailwind
colors: {
  custom: {
    50: '#aeab76',
    500: '#8a893f',
    950: '#000000',
  },
}
SCSS
$custom: #8a893f;
$custom-light: #aeab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a893f",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 59.2,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.09671,
    "h": 108.2
  },
  "luminance": 0.23653
}

Semantic roles & 50–950 ramp

primary
#8A893F
secondary
#7677AF
accent
#5CCD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A893F

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

Preview Lab → · Contrast checker → · Palette generator →

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