#8A952D#8A952D

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

Color values

HEX#8A952D
RGBrgb(138, 149, 45)
HSLhsl(66, 54%, 38%)
HSVhsv(66, 70%, 58%)
CMYKcmyk(7.4%, 0%, 69.8%, 41.6%)
CIE-LABlab(59.06, -17.91, 50.97)
CIE-LCHlch(59.06, 54.03, 109.36°)
OKLaboklab(64.09% -0.0539 0.1142)
OKLCHoklch(64.09% 0.126 115.3)
XYZxyz(21.7029, 27.0880, 6.5673)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A952D #382D95
analogous
#956C2D #8A952D #56952D
triadic
#8A952D #2D8A95 #952D8A
tetradic
#8A952D #2D956C #382D95 #952D56
square
#8A952D #2D956C #382D95 #952D56
split-complementary
#8A952D #2D5695 #6C2D95
monochromatic
#333711 #5E661F #8A952D #B5C43B #C7D26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A952D#FFFFFF#000000##000000
##8A952D1.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)
#A08D1D
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a952d;
/* rgb */ color: rgb(138, 149, 45);
/* oklch */ color: oklch(64.1% 0.126 115.3);
Tailwind
colors: {
  custom: {
    50: '#afb46d',
    500: '#8a952d',
    950: '#000000',
  },
}
SCSS
$custom: #8a952d;
$custom-light: #afb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a952d",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 66.346,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64088,
    "c": 0.12629,
    "h": 115.3
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#8A952D
secondary
#6E65B9
accent
#4BDD5A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A952D

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

Preview Lab → · Contrast checker → · Palette generator →

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