#8A973C#8A973C

#8A973C is a light, moderate yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.117 H 116.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A973C
RGBrgb(138, 151, 60)
HSLhsl(69, 43%, 41%)
HSVhsv(69, 60%, 59%)
CMYKcmyk(8.6%, 0%, 60.3%, 40.8%)
CIE-LABlab(59.76, -17.89, 45.24)
CIE-LCHlch(59.76, 48.65, 111.58°)
OKLaboklab(64.7% -0.0523 0.1044)
OKLCHoklch(64.7% 0.117 116.6)
XYZxyz(22.3639, 27.8630, 8.4741)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A973C #493C97
analogous
#97773C #8A973C #5D973C
triadic
#8A973C #3C8A97 #973C8A
tetradic
#8A973C #3C9777 #493C97 #973C5D
square
#8A973C #3C9777 #493C97 #973C5D
split-complementary
#8A973C #3C5D97 #773C97
monochromatic
#3A3F19 #626B2B #8A973C #ADBB55 #C2CD81

Accessibility & contrast

On white

3.20
#8A973C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8A973C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A973C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A973C#FFFFFF#000000##000000
##8A973C1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19032
Deuteranopia (green-blind)
#A09142
Tritanopia (blue-blind)
#928F84
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a973c;
/* rgb */ color: rgb(138, 151, 60);
/* oklch */ color: oklch(64.7% 0.117 116.6);
Tailwind
colors: {
  custom: {
    50: '#aeb575',
    500: '#8a973c',
    950: '#000000',
  },
}
SCSS
$custom: #8a973c;
$custom-light: #aeb575;
$custom-dark: #000000;
JSON
{
  "hex": "#8a973c",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 60
  },
  "hsl": {
    "h": 68.571,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64697,
    "c": 0.11671,
    "h": 116.6
  },
  "luminance": 0.27863
}

Semantic roles & 50–950 ramp

primary
#8A973C
secondary
#8178B7
accent
#55D367
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A973C

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

Preview Lab → · Contrast checker → · Palette generator →

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