#9DAB2B#9DAB2B

#9DAB2B is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.147 H 115.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#9DAB2B
RGBrgb(157, 171, 43)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.2%, 0%, 74.9%, 32.9%)
CIE-LABlab(66.88, -20.99, 59.82)
CIE-LCHlch(66.88, 63.40, 109.33°)
OKLaboklab(70.73% -0.0637 0.1319)
OKLCHoklch(70.73% 0.147 115.8)
XYZxyz(28.9044, 36.4688, 7.8016)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB2B #392BAB
analogous
#AB792B #9DAB2B #5DAB2B
triadic
#9DAB2B #2B9DAB #AB2B9D
tetradic
#9DAB2B #2BAB79 #392BAB #AB2B5D
square
#9DAB2B #2BAB79 #392BAB #AB2B5D
split-complementary
#9DAB2B #2B5DAB #792BAB
monochromatic
#434912 #707A1F #9DAB2B #C0D043 #D1DC74

Accessibility & contrast

On white

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

On black

8.29
#9DAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB2B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB2B#FFFFFF#000000##000000
##9DAB2B1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20E
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#A7A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab2b;
/* rgb */ color: rgb(157, 171, 43);
/* oklch */ color: oklch(70.7% 0.147 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9dab2b',
    950: '#000000',
  },
}
SCSS
$custom: #9dab2b;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab2b",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 66.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.14652,
    "h": 115.8
  },
  "luminance": 0.36468
}

Semantic roles & 50–950 ramp

primary
#9DAB2B
secondary
#786EC4
accent
#45E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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