#9DAB2D#9DAB2D

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

Color values

HEX#9DAB2D
RGBrgb(157, 171, 45)
HSLhsl(67, 58%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.2%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.89, -20.89, 59.14)
CIE-LCHlch(66.89, 62.73, 109.46°)
OKLaboklab(70.74% -0.0633 0.1309)
OKLCHoklch(70.74% 0.145 115.8)
XYZxyz(28.9420, 36.4838, 7.9996)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB2D #3B2DAB
analogous
#AB7A2D #9DAB2D #5EAB2D
triadic
#9DAB2D #2D9DAB #AB2D9D
tetradic
#9DAB2D #2DAB7A #3B2DAB #AB2D5E
square
#9DAB2D #2DAB7A #3B2DAB #AB2D5E
split-complementary
#9DAB2D #2D5EAB #7A2DAB
monochromatic
#444A14 #717B20 #9DAB2D #BFCE47 #D0DB77

Accessibility & contrast

On white

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

On black

8.30
#9DAB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB2D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB2D#FFFFFF#000000##000000
##9DAB2D1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dab2d;
/* rgb */ color: rgb(157, 171, 45);
/* oklch */ color: oklch(70.7% 0.145 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36f',
    500: '#9dab2d',
    950: '#000000',
  },
}
SCSS
$custom: #9dab2d;
$custom-light: #bdc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab2d",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 66.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70739,
    "c": 0.14536,
    "h": 115.8
  },
  "luminance": 0.36483
}

Semantic roles & 50–950 ramp

primary
#9DAB2D
secondary
#7A71C3
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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