#8A993C#8A993C

#8A993C is a light, moderate yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.119 H 117.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A993C
RGBrgb(138, 153, 60)
HSLhsl(70, 44%, 42%)
HSVhsv(70, 61%, 60%)
CMYKcmyk(9.8%, 0%, 60.8%, 40%)
CIE-LABlab(60.35, -18.92, 45.88)
CIE-LCHlch(60.35, 49.63, 112.41°)
OKLaboklab(65.16% -0.0552 0.1057)
OKLCHoklch(65.16% 0.119 117.6)
XYZxyz(22.6885, 28.5122, 8.5823)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A993C #4B3C99
analogous
#997A3C #8A993C #5C993C
triadic
#8A993C #3C8A99 #993C8A
tetradic
#8A993C #3C997A #4B3C99 #993C5C
square
#8A993C #3C997A #4B3C99 #993C5C
split-complementary
#8A993C #3C5C99 #7A3C99
monochromatic
#3B411A #626D2B #8A993C #ACBD56 #C2CE82

Accessibility & contrast

On white

3.13
#8A993C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8A993C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A993C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A993C#FFFFFF#000000##000000
##8A993C1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39131
Deuteranopia (green-blind)
#A19242
Tritanopia (blue-blind)
#929185
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a993c;
/* rgb */ color: rgb(138, 153, 60);
/* oklch */ color: oklch(65.2% 0.119 117.6);
Tailwind
colors: {
  custom: {
    50: '#aeb776',
    500: '#8a993c',
    950: '#000000',
  },
}
SCSS
$custom: #8a993c;
$custom-light: #aeb776;
$custom-dark: #000000;
JSON
{
  "hex": "#8a993c",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 60
  },
  "hsl": {
    "h": 69.677,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65165,
    "c": 0.11924,
    "h": 117.6
  },
  "luminance": 0.28512
}

Semantic roles & 50–950 ramp

primary
#8A993C
secondary
#8379B8
accent
#54D369
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A993C

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

Preview Lab → · Contrast checker → · Palette generator →

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