#9DA95B#9DA95B

#9DA95B is a light, moderate yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.103 H 116.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9DA95B
RGBrgb(157, 169, 91)
HSLhsl(69, 31%, 51%)
HSVhsv(69, 46%, 66%)
CMYKcmyk(7.1%, 0%, 46.2%, 33.7%)
CIE-LABlab(66.75, -16.31, 38.64)
CIE-LCHlch(66.75, 41.94, 112.89°)
OKLaboklab(70.77% -0.0458 0.0928)
OKLCHoklch(70.77% 0.103 116.3)
XYZxyz(29.9812, 36.2997, 15.3226)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA95B #675BA9
analogous
#A98E5B #9DA95B #76A95B
triadic
#9DA95B #5B9DA9 #A95B9D
tetradic
#9DA95B #5BA98E #675BA9 #A95B76
square
#9DA95B #5BA98E #675BA9 #A95B76
split-complementary
#9DA95B #5B76A9 #8E5BA9
monochromatic
#545A2F #798244 #9DA95B #B5BE83 #CDD3AB

Accessibility & contrast

On white

2.54
#9DA95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#9DA95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA95B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA95B#FFFFFF#000000##000000
##9DA95B1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A254
Deuteranopia (green-blind)
#B1A35F
Tritanopia (blue-blind)
#A5A197
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9da95b;
/* rgb */ color: rgb(157, 169, 91);
/* oklch */ color: oklch(70.8% 0.103 116.3);
Tailwind
colors: {
  custom: {
    50: '#bbc28b',
    500: '#9da95b',
    950: '#000000',
  },
}
SCSS
$custom: #9da95b;
$custom-light: #bbc28b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da95b",
  "rgb": {
    "r": 157,
    "g": 169,
    "b": 91
  },
  "hsl": {
    "h": 69.231,
    "s": 31.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70766,
    "c": 0.10346,
    "h": 116.3
  },
  "luminance": 0.36299
}

Semantic roles & 50–950 ramp

primary
#9DA95B
secondary
#A49FC1
accent
#60C770
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9DA95B

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

Preview Lab → · Contrast checker → · Palette generator →

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