#8A973B#8A973B

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

Color values

HEX#8A973B
RGBrgb(138, 151, 59)
HSLhsl(68, 44%, 41%)
HSVhsv(68, 61%, 59%)
CMYKcmyk(8.6%, 0%, 60.9%, 40.8%)
CIE-LABlab(59.76, -17.97, 45.69)
CIE-LCHlch(59.76, 49.10, 111.47°)
OKLaboklab(64.69% -0.0526 0.1052)
OKLCHoklch(64.69% 0.118 116.6)
XYZxyz(22.3377, 27.8525, 8.3362)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A973B #483B97
analogous
#97763B #8A973B #5C973B
triadic
#8A973B #3B8A97 #973B8A
tetradic
#8A973B #3B9776 #483B97 #973B5C
square
#8A973B #3B9776 #483B97 #973B5C
split-complementary
#8A973B #3B5C97 #763B97
monochromatic
#3A3F19 #626B2A #8A973B #ADBC53 #C2CD7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A973B#FFFFFF#000000##000000
##8A973B1.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)
#A18F31
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#928F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a973b;
/* rgb */ color: rgb(138, 151, 59);
/* oklch */ color: oklch(64.7% 0.118 116.6);
Tailwind
colors: {
  custom: {
    50: '#aeb575',
    500: '#8a973b',
    950: '#000000',
  },
}
SCSS
$custom: #8a973b;
$custom-light: #aeb575;
$custom-dark: #000000;
JSON
{
  "hex": "#8a973b",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 59
  },
  "hsl": {
    "h": 68.478,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64686,
    "c": 0.11759,
    "h": 116.6
  },
  "luminance": 0.27852
}

Semantic roles & 50–950 ramp

primary
#8A973B
secondary
#8077B7
accent
#54D466
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A973B

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

Preview Lab → · Contrast checker → · Palette generator →

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