#9DAA52#9DAA52

#9DAA52 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.114 H 116.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9DAA52
RGBrgb(157, 170, 82)
HSLhsl(69, 35%, 49%)
HSVhsv(69, 52%, 67%)
CMYKcmyk(7.6%, 0%, 51.8%, 33.3%)
CIE-LABlab(66.92, -17.73, 43.33)
CIE-LCHlch(66.92, 46.82, 112.25°)
OKLaboklab(70.87% -0.0507 0.1023)
OKLCHoklch(70.87% 0.114 116.4)
XYZxyz(29.8028, 36.5271, 13.4614)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA52 #5F52AA
analogous
#AA8B52 #9DAA52 #71AA52
triadic
#9DAA52 #529DAA #AA529D
tetradic
#9DAA52 #52AA8B #5F52AA #AA5271
square
#9DAA52 #52AA8B #5F52AA #AA5271
split-complementary
#9DAA52 #5271AA #8B52AA
monochromatic
#51572A #77813E #9DAA52 #B5BF7A #CCD3A4

Accessibility & contrast

On white

2.53
#9DAA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#9DAA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA52
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA52#FFFFFF#000000##000000
##9DAA521.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B3A457
Tritanopia (blue-blind)
#A5A296
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9daa52;
/* rgb */ color: rgb(157, 170, 82);
/* oklch */ color: oklch(70.9% 0.114 116.4);
Tailwind
colors: {
  custom: {
    50: '#bcc385',
    500: '#9daa52',
    950: '#000000',
  },
}
SCSS
$custom: #9daa52;
$custom-light: #bcc385;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa52",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 68.864,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70868,
    "c": 0.11421,
    "h": 116.4
  },
  "luminance": 0.36527
}

Semantic roles & 50–950 ramp

primary
#9DAA52
secondary
#9E98C0
accent
#5DCB6D
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DAA52

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

Preview Lab → · Contrast checker → · Palette generator →

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