#8A952E#8A952E

#8A952E 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#8A952E
RGBrgb(138, 149, 46)
HSLhsl(66, 53%, 38%)
HSVhsv(66, 69%, 58%)
CMYKcmyk(7.4%, 0%, 69.1%, 41.6%)
CIE-LABlab(59.06, -17.85, 50.58)
CIE-LCHlch(59.06, 53.64, 109.44°)
OKLaboklab(64.1% -0.0536 0.1136)
OKLCHoklch(64.1% 0.126 115.3)
XYZxyz(21.7224, 27.0958, 6.6699)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A952E #392E95
analogous
#956C2E #8A952E #56952E
triadic
#8A952E #2E8A95 #952E8A
tetradic
#8A952E #2E956C #392E95 #952E56
square
#8A952E #2E956C #392E95 #952E56
split-complementary
#8A952E #2E5695 #6C2E95
monochromatic
#333711 #5F6620 #8A952E #B5C33D #C7D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a952e;
/* rgb */ color: rgb(138, 149, 46);
/* oklch */ color: oklch(64.1% 0.126 115.3);
Tailwind
colors: {
  custom: {
    50: '#afb46d',
    500: '#8a952e',
    950: '#000000',
  },
}
SCSS
$custom: #8a952e;
$custom-light: #afb46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a952e",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 66.408,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.12558,
    "h": 115.3
  },
  "luminance": 0.27095
}

Semantic roles & 50–950 ramp

primary
#8A952E
secondary
#6F66B9
accent
#4CDC5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A952E

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

Preview Lab → · Contrast checker → · Palette generator →

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