#8A952F#8A952F

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

Color values

HEX#8A952F
RGBrgb(138, 149, 47)
HSLhsl(66, 52%, 38%)
HSVhsv(66, 68%, 58%)
CMYKcmyk(7.4%, 0%, 68.5%, 41.6%)
CIE-LABlab(59.07, -17.79, 50.18)
CIE-LCHlch(59.07, 53.24, 109.52°)
OKLaboklab(64.1% -0.0533 0.1129)
OKLCHoklch(64.1% 0.125 115.3)
XYZxyz(21.7423, 27.1037, 6.7750)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A952F #3A2F95
analogous
#956D2F #8A952F #57952F
triadic
#8A952F #2F8A95 #952F8A
tetradic
#8A952F #2F956D #3A2F95 #952F57
square
#8A952F #2F956D #3A2F95 #952F57
split-complementary
#8A952F #2F5795 #6D2F95
monochromatic
#343812 #5F6620 #8A952F #B4C23F #C6D16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A952F#FFFFFF#000000##000000
##8A952F1.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)
#A08D20
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a952f;
/* rgb */ color: rgb(138, 149, 47);
/* oklch */ color: oklch(64.1% 0.125 115.3);
Tailwind
colors: {
  custom: {
    50: '#afb46e',
    500: '#8a952f',
    950: '#000000',
  },
}
SCSS
$custom: #8a952f;
$custom-light: #afb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a952f",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 66.471,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.12486,
    "h": 115.3
  },
  "luminance": 0.27103
}

Semantic roles & 50–950 ramp

primary
#8A952F
secondary
#7067B8
accent
#4CDB5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A952F

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

Preview Lab → · Contrast checker → · Palette generator →

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