#8A9345#8A9345

#8A9345 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 63.9% C 0.103 H 114.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A9345
RGBrgb(138, 147, 69)
HSLhsl(67, 36%, 42%)
HSVhsv(67, 53%, 58%)
CMYKcmyk(6.1%, 0%, 53.1%, 42.4%)
CIE-LABlab(58.70, -15.02, 39.70)
CIE-LCHlch(58.70, 42.44, 110.73°)
OKLaboklab(63.87% -0.0432 0.0935)
OKLCHoklch(63.87% 0.103 114.8)
XYZxyz(21.9895, 26.7007, 9.6244)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9345 #4E4593
analogous
#937545 #8A9345 #639345
triadic
#8A9345 #458A93 #93458A
tetradic
#8A9345 #459375 #4E4593 #934563
square
#8A9345 #459375 #4E4593 #934563
split-complementary
#8A9345 #456393 #754593
monochromatic
#3C401E #636931 #8A9345 #ABB561 #C1C88A

Accessibility & contrast

On white

3.31
#8A9345 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A9345 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9345
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9345#FFFFFF#000000##000000
##8A93451.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D3E
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#928C81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9345;
/* rgb */ color: rgb(138, 147, 69);
/* oklch */ color: oklch(63.9% 0.103 114.8);
Tailwind
colors: {
  custom: {
    50: '#aeb27b',
    500: '#8a9345',
    950: '#000000',
  },
}
SCSS
$custom: #8a9345;
$custom-light: #aeb27b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9345",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 69
  },
  "hsl": {
    "h": 66.923,
    "s": 36.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63872,
    "c": 0.10298,
    "h": 114.8
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#8A9345
secondary
#8680B3
accent
#5CCC69
background
#FAFAF7
surface
#F5F5EE
border
#CFCFC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A9345

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

Preview Lab → · Contrast checker → · Palette generator →

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