#9DB42A#9DB42A

#9DB42A is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.8% C 0.157 H 119.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#9DB42A
RGBrgb(157, 180, 42)
HSLhsl(70, 62%, 44%)
HSVhsv(70, 77%, 71%)
CMYKcmyk(12.8%, 0%, 76.7%, 29.4%)
CIE-LABlab(69.45, -25.48, 62.56)
CIE-LCHlch(69.45, 67.55, 112.16°)
OKLaboklab(72.8% -0.0762 0.1376)
OKLCHoklch(72.8% 0.157 119)
XYZxyz(30.6445, 39.9780, 8.2922)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB42A #412AB4
analogous
#B4862A #9DB42A #58B42A
triadic
#9DB42A #2A9DB4 #B42A9D
tetradic
#9DB42A #2AB486 #412AB4 #B42A58
square
#9DB42A #2AB486 #412AB4 #B42A58
split-complementary
#9DB42A #2A58B4 #862AB4
monochromatic
#465113 #72821E #9DB42A #BDD447 #CFE079

Accessibility & contrast

On white

2.33
#9DB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#9DB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB42A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB42A#FFFFFF#000000##000000
##9DB42A1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA04
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#A7AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9db42a;
/* rgb */ color: rgb(157, 180, 42);
/* oklch */ color: oklch(72.8% 0.157 119.0);
Tailwind
colors: {
  custom: {
    50: '#beca6f',
    500: '#9db42a',
    950: '#000000',
  },
}
SCSS
$custom: #9db42a;
$custom-light: #beca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db42a",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 70,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.15726,
    "h": 119
  },
  "luminance": 0.39978
}

Semantic roles & 50–950 ramp

primary
#9DB42A
secondary
#8072C8
accent
#43E55E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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