#9DA952#9DA952

#9DA952 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.113 H 115.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9DA952
RGBrgb(157, 169, 82)
HSLhsl(68, 35%, 49%)
HSVhsv(68, 51%, 66%)
CMYKcmyk(7.1%, 0%, 51.5%, 33.7%)
CIE-LABlab(66.64, -17.22, 43.00)
CIE-LCHlch(66.64, 46.32, 111.83°)
OKLaboklab(70.64% -0.0492 0.1016)
OKLCHoklch(70.64% 0.113 115.9)
XYZxyz(29.6160, 36.1536, 13.3992)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA952 #5E52A9
analogous
#A98A52 #9DA952 #72A952
triadic
#9DA952 #529DA9 #A9529D
tetradic
#9DA952 #52A98A #5E52A9 #A95272
square
#9DA952 #52A98A #5E52A9 #A95272
split-complementary
#9DA952 #5272A9 #8A52A9
monochromatic
#50572A #77803E #9DA952 #B5BE7A #CCD2A3

Accessibility & contrast

On white

2.55
#9DA952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9DA952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA952
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA952#FFFFFF#000000##000000
##9DA9521.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24A
Deuteranopia (green-blind)
#B2A357
Tritanopia (blue-blind)
#A5A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9da952;
/* rgb */ color: rgb(157, 169, 82);
/* oklch */ color: oklch(70.6% 0.113 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc285',
    500: '#9da952',
    950: '#000000',
  },
}
SCSS
$custom: #9da952;
$custom-light: #bcc285;
$custom-dark: #000000;
JSON
{
  "hex": "#9da952",
  "rgb": {
    "r": 157,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 68.276,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.11292,
    "h": 115.9
  },
  "luminance": 0.36153
}

Semantic roles & 50–950 ramp

primary
#9DA952
secondary
#9D97C0
accent
#5DCB6C
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA952

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

Preview Lab → · Contrast checker → · Palette generator →

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