#9A8D34#9A8D34

#9A8D34 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.110 H 101.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9A8D34
RGBrgb(154, 141, 52)
HSLhsl(52, 50%, 40%)
HSVhsv(52, 66%, 60%)
CMYKcmyk(0%, 8.4%, 66.2%, 39.6%)
CIE-LABlab(58.20, -6.12, 47.57)
CIE-LCHlch(58.20, 47.96, 97.33°)
OKLaboklab(63.75% -0.0209 0.1077)
OKLCHoklch(63.75% 0.11 101)
XYZxyz(23.4721, 26.1687, 7.0628)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D34 #34419A
analogous
#9A5A34 #9A8D34 #749A34
triadic
#9A8D34 #349A8D #8D349A
tetradic
#9A8D34 #349A5A #34419A #9A3474
square
#9A8D34 #349A5A #34419A #9A3474
split-complementary
#9A8D34 #34749A #5A349A
monochromatic
#3E3915 #6C6325 #9A8D34 #C2B249 #D1C677

Accessibility & contrast

On white

3.37
#9A8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9A8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D34
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D34#FFFFFF#000000##000000
##9A8D341.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8929
Deuteranopia (green-blind)
#9E8E39
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d34;
/* rgb */ color: rgb(154, 141, 52);
/* oklch */ color: oklch(63.8% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#bbae70',
    500: '#9a8d34',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d34;
$custom-light: #bbae70;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d34",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 52.353,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63754,
    "c": 0.10973,
    "h": 101
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#9A8D34
secondary
#7079BA
accent
#60D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9A8D34

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

Preview Lab → · Contrast checker → · Palette generator →

#9A8D34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva