#9DA951#9DA951

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

Color values

HEX#9DA951
RGBrgb(157, 169, 81)
HSLhsl(68, 35%, 49%)
HSVhsv(68, 52%, 66%)
CMYKcmyk(7.1%, 0%, 52.1%, 33.7%)
CIE-LABlab(66.63, -17.32, 43.47)
CIE-LCHlch(66.63, 46.79, 111.72°)
OKLaboklab(70.63% -0.0496 0.1026)
OKLCHoklch(70.63% 0.114 115.8)
XYZxyz(29.5782, 36.1385, 13.2002)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA951 #5D51A9
analogous
#A98951 #9DA951 #71A951
triadic
#9DA951 #519DA9 #A9519D
tetradic
#9DA951 #51A989 #5D51A9 #A95171
square
#9DA951 #51A989 #5D51A9 #A95171
split-complementary
#9DA951 #5171A9 #8951A9
monochromatic
#505629 #77803D #9DA951 #B5BF79 #CCD2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA951#FFFFFF#000000##000000
##9DA9511.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)
#B3A149
Deuteranopia (green-blind)
#B2A356
Tritanopia (blue-blind)
#A5A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9da951;
/* rgb */ color: rgb(157, 169, 81);
/* oklch */ color: oklch(70.6% 0.114 115.8);
Tailwind
colors: {
  custom: {
    50: '#bcc284',
    500: '#9da951',
    950: '#000000',
  },
}
SCSS
$custom: #9da951;
$custom-light: #bcc284;
$custom-dark: #000000;
JSON
{
  "hex": "#9da951",
  "rgb": {
    "r": 157,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 68.182,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70628,
    "c": 0.11392,
    "h": 115.8
  },
  "luminance": 0.36138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DA951

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

Preview Lab → · Contrast checker → · Palette generator →

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