#8A9340#8A9340

#8A9340 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 63.8% C 0.108 H 114.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A9340
RGBrgb(138, 147, 64)
HSLhsl(67, 39%, 41%)
HSVhsv(67, 56%, 58%)
CMYKcmyk(6.1%, 0%, 56.5%, 42.4%)
CIE-LABlab(58.64, -15.47, 42.09)
CIE-LCHlch(58.64, 44.84, 110.19°)
OKLaboklab(63.81% -0.045 0.0981)
OKLCHoklch(63.81% 0.108 114.7)
XYZxyz(21.8408, 26.6412, 8.8412)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9340 #494093
analogous
#937340 #8A9340 #619340
triadic
#8A9340 #408A93 #93408A
tetradic
#8A9340 #409373 #494093 #934061
square
#8A9340 #409373 #494093 #934061
split-complementary
#8A9340 #406193 #734093
monochromatic
#3A3E1B #62682D #8A9340 #ADB759 #C2C984

Accessibility & contrast

On white

3.32
#8A9340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A9340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9340
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9340#FFFFFF#000000##000000
##8A93401.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C38
Deuteranopia (green-blind)
#9C8E45
Tritanopia (blue-blind)
#928B81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9340;
/* rgb */ color: rgb(138, 147, 64);
/* oklch */ color: oklch(63.8% 0.108 114.7);
Tailwind
colors: {
  custom: {
    50: '#aeb278',
    500: '#8a9340',
    950: '#000000',
  },
}
SCSS
$custom: #8a9340;
$custom-light: #aeb278;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9340",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 64
  },
  "hsl": {
    "h": 66.506,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6381,
    "c": 0.10794,
    "h": 114.7
  },
  "luminance": 0.26641
}

Semantic roles & 50–950 ramp

primary
#8A9340
secondary
#817BB4
accent
#59CF65
background
#FAFAF7
surface
#F5F5ED
border
#CFCFC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A9340

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

Preview Lab → · Contrast checker → · Palette generator →

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