#8A952A#8A952A

#8A952A is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.128 H 115.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A952A
RGBrgb(138, 149, 42)
HSLhsl(66, 56%, 37%)
HSVhsv(66, 72%, 58%)
CMYKcmyk(7.4%, 0%, 71.8%, 41.6%)
CIE-LABlab(59.04, -18.08, 52.12)
CIE-LCHlch(59.04, 55.17, 109.13°)
OKLaboklab(64.07% -0.0547 0.1161)
OKLCHoklch(64.07% 0.128 115.2)
XYZxyz(21.6472, 27.0657, 6.2739)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A952A #352A95
analogous
#956A2A #8A952A #55952A
triadic
#8A952A #2A8A95 #952A8A
tetradic
#8A952A #2A956A #352A95 #952A55
square
#8A952A #2A956A #352A95 #952A55
split-complementary
#8A952A #2A5595 #6A2A95
monochromatic
#32360F #5E651D #8A952A #B6C537 #C8D466

Accessibility & contrast

On white

3.27
#8A952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8A952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A952A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A952A#FFFFFF#000000##000000
##8A952A1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D18
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a952a;
/* rgb */ color: rgb(138, 149, 42);
/* oklch */ color: oklch(64.1% 0.128 115.2);
Tailwind
colors: {
  custom: {
    50: '#afb46b',
    500: '#8a952a',
    950: '#000000',
  },
}
SCSS
$custom: #8a952a;
$custom-light: #afb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a952a",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 66.168,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64065,
    "c": 0.12835,
    "h": 115.2
  },
  "luminance": 0.27065
}

Semantic roles & 50–950 ramp

primary
#8A952A
secondary
#6A61BA
accent
#48DF58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A952A

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

Preview Lab → · Contrast checker → · Palette generator →

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