#8A952B#8A952B

#8A952B 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#8A952B
RGBrgb(138, 149, 43)
HSLhsl(66, 55%, 38%)
HSVhsv(66, 71%, 58%)
CMYKcmyk(7.4%, 0%, 71.1%, 41.6%)
CIE-LABlab(59.04, -18.03, 51.74)
CIE-LCHlch(59.04, 54.79, 109.21°)
OKLaboklab(64.07% -0.0544 0.1155)
OKLCHoklch(64.07% 0.128 115.2)
XYZxyz(21.6653, 27.0729, 6.3693)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A952B #362B95
analogous
#956B2B #8A952B #55952B
triadic
#8A952B #2B8A95 #952B8A
tetradic
#8A952B #2B956B #362B95 #952B55
square
#8A952B #2B956B #362B95 #952B55
split-complementary
#8A952B #2B5595 #6B2B95
monochromatic
#323610 #5E661D #8A952B #B6C439 #C8D367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A952B#FFFFFF#000000##000000
##8A952B1.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)
#A08D19
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a952b;
/* rgb */ color: rgb(138, 149, 43);
/* oklch */ color: oklch(64.1% 0.128 115.2);
Tailwind
colors: {
  custom: {
    50: '#afb46b',
    500: '#8a952b',
    950: '#000000',
  },
}
SCSS
$custom: #8a952b;
$custom-light: #afb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a952b",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 66.226,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.12768,
    "h": 115.2
  },
  "luminance": 0.27073
}

Semantic roles & 50–950 ramp

primary
#8A952B
secondary
#6B62BA
accent
#49DF59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A952B

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

Preview Lab → · Contrast checker → · Palette generator →

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