#9DAC52#9DAC52

#9DAC52 is a light, moderate yellow-green. Relative luminance 0.373; OKLCH L 71.3% C 0.117 H 117.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#9DAC52
RGBrgb(157, 172, 82)
HSLhsl(70, 35%, 50%)
HSVhsv(70, 52%, 67%)
CMYKcmyk(8.7%, 0%, 52.3%, 32.5%)
CIE-LABlab(67.49, -18.75, 44.00)
CIE-LCHlch(67.49, 47.83, 113.08°)
OKLaboklab(71.32% -0.0536 0.1038)
OKLCHoklch(71.32% 0.117 117.3)
XYZxyz(30.1805, 37.2826, 13.5874)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC52 #6152AC
analogous
#AC8E52 #9DAC52 #70AC52
triadic
#9DAC52 #529DAC #AC529D
tetradic
#9DAC52 #52AC8E #6152AC #AC5270
square
#9DAC52 #52AC8E #6152AC #AC5270
split-complementary
#9DAC52 #5270AC #8E52AC
monochromatic
#51592A #77833E #9DAC52 #B5C07B #CCD4A5

Accessibility & contrast

On white

2.48
#9DAC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#9DAC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC52
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC52#FFFFFF#000000##000000
##9DAC521.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44A
Deuteranopia (green-blind)
#B5A557
Tritanopia (blue-blind)
#A5A498
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9dac52;
/* rgb */ color: rgb(157, 172, 82);
/* oklch */ color: oklch(71.3% 0.117 117.3);
Tailwind
colors: {
  custom: {
    50: '#bcc485',
    500: '#9dac52',
    950: '#000000',
  },
}
SCSS
$custom: #9dac52;
$custom-light: #bcc485;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac52",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 70,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.1168,
    "h": 117.3
  },
  "luminance": 0.37282
}

Semantic roles & 50–950 ramp

primary
#9DAC52
secondary
#9F99C1
accent
#5CCB6F
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DAC52

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

Preview Lab → · Contrast checker → · Palette generator →

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