#8A9643#8A9643

#8A9643 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.5% C 0.109 H 116.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A9643
RGBrgb(138, 150, 67)
HSLhsl(69, 38%, 43%)
HSVhsv(69, 55%, 59%)
CMYKcmyk(8%, 0%, 55.3%, 41.2%)
CIE-LABlab(59.55, -16.78, 41.67)
CIE-LCHlch(59.55, 44.92, 111.93°)
OKLaboklab(64.54% -0.0484 0.0975)
OKLCHoklch(64.54% 0.109 116.4)
XYZxyz(22.4011, 27.6215, 9.4605)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9643 #4F4396
analogous
#967943 #8A9643 #609643
triadic
#8A9643 #438A96 #96438A
tetradic
#8A9643 #439679 #4F4396 #964360
square
#8A9643 #439679 #4F4396 #964360
split-complementary
#8A9643 #436096 #794396
monochromatic
#3C411D #636C30 #8A9643 #ABB75F #C1CA89

Accessibility & contrast

On white

3.22
#8A9643 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8A9643 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9643
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9643#FFFFFF#000000##000000
##8A96431.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3B
Deuteranopia (green-blind)
#9E9048
Tritanopia (blue-blind)
#928E84
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9643;
/* rgb */ color: rgb(138, 150, 67);
/* oklch */ color: oklch(64.5% 0.109 116.4);
Tailwind
colors: {
  custom: {
    50: '#aeb47a',
    500: '#8a9643',
    950: '#000000',
  },
}
SCSS
$custom: #8a9643;
$custom-light: #aeb47a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9643",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 67
  },
  "hsl": {
    "h": 68.675,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.10887,
    "h": 116.4
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#8A9643
secondary
#877FB5
accent
#5ACE6A
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9643

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

Preview Lab → · Contrast checker → · Palette generator →

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