#8A952C#8A952C

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

Color values

HEX#8A952C
RGBrgb(138, 149, 44)
HSLhsl(66, 54%, 38%)
HSVhsv(66, 70%, 58%)
CMYKcmyk(7.4%, 0%, 70.5%, 41.6%)
CIE-LABlab(59.05, -17.97, 51.36)
CIE-LCHlch(59.05, 54.41, 109.28°)
OKLaboklab(64.08% -0.0541 0.1149)
OKLCHoklch(64.08% 0.127 115.2)
XYZxyz(21.6839, 27.0804, 6.4671)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A952C #372C95
analogous
#956C2C #8A952C #55952C
triadic
#8A952C #2C8A95 #952C8A
tetradic
#8A952C #2C956C #372C95 #952C55
square
#8A952C #2C956C #372C95 #952C55
split-complementary
#8A952C #2C5595 #6C2C95
monochromatic
#323710 #5E661E #8A952C #B6C43A #C8D369

Accessibility & contrast

On white

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

On black

6.42
#8A952C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A952C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A952C#FFFFFF#000000##000000
##8A952C1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a952c;
/* rgb */ color: rgb(138, 149, 44);
/* oklch */ color: oklch(64.1% 0.127 115.2);
Tailwind
colors: {
  custom: {
    50: '#afb46c',
    500: '#8a952c',
    950: '#000000',
  },
}
SCSS
$custom: #8a952c;
$custom-light: #afb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a952c",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 44
  },
  "hsl": {
    "h": 66.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6408,
    "c": 0.12699,
    "h": 115.2
  },
  "luminance": 0.2708
}

Semantic roles & 50–950 ramp

primary
#8A952C
secondary
#6D64B9
accent
#4ADE5A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A952C

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

Preview Lab → · Contrast checker → · Palette generator →

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