#8A9342#8A9342

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

Color values

HEX#8A9342
RGBrgb(138, 147, 66)
HSLhsl(67, 38%, 42%)
HSVhsv(67, 55%, 58%)
CMYKcmyk(6.1%, 0%, 55.1%, 42.4%)
CIE-LABlab(58.66, -15.30, 41.14)
CIE-LCHlch(58.66, 43.89, 110.40°)
OKLaboklab(63.83% -0.0443 0.0963)
OKLCHoklch(63.83% 0.106 114.7)
XYZxyz(21.8987, 26.6644, 9.1463)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9342 #4B4293
analogous
#937442 #8A9342 #629342
triadic
#8A9342 #428A93 #93428A
tetradic
#8A9342 #429374 #4B4293 #934262
square
#8A9342 #429374 #4B4293 #934262
split-complementary
#8A9342 #426293 #744293
monochromatic
#3B3F1C #62692F #8A9342 #ACB65C #C2C987

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9342#FFFFFF#000000##000000
##8A93421.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)
#9C8C3A
Deuteranopia (green-blind)
#9C8E47
Tritanopia (blue-blind)
#928B81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9342;
/* rgb */ color: rgb(138, 147, 66);
/* oklch */ color: oklch(63.8% 0.106 114.7);
Tailwind
colors: {
  custom: {
    50: '#aeb279',
    500: '#8a9342',
    950: '#000000',
  },
}
SCSS
$custom: #8a9342;
$custom-light: #aeb279;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9342",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 66.667,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63834,
    "c": 0.10599,
    "h": 114.7
  },
  "luminance": 0.26664
}

Semantic roles & 50–950 ramp

primary
#8A9342
secondary
#837DB4
accent
#5ACE67
background
#FAFAF7
surface
#F5F5ED
border
#CFCFC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A9342

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

Preview Lab → · Contrast checker → · Palette generator →

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