#9DB42F#9DB42F

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

Color values

HEX#9DB42F
RGBrgb(157, 180, 47)
HSLhsl(70, 59%, 45%)
HSVhsv(70, 74%, 71%)
CMYKcmyk(12.8%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.48, -25.25, 60.93)
CIE-LCHlch(69.48, 65.95, 112.51°)
OKLaboklab(72.83% -0.0751 0.135)
OKLCHoklch(72.83% 0.154 119.1)
XYZxyz(30.7396, 40.0161, 8.7933)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB42F #462FB4
analogous
#B4892F #9DB42F #5BB42F
triadic
#9DB42F #2F9DB4 #B42F9D
tetradic
#9DB42F #2FB489 #462FB4 #B42F5B
square
#9DB42F #2FB489 #462FB4 #B42F5B
split-complementary
#9DB42F #2F5BB4 #892FB4
monochromatic
#485316 #738322 #9DB42F #BBD14F #CDDE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB42F#FFFFFF#000000##000000
##9DB42F1.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)
#C0AA13
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#A6AA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9db42f;
/* rgb */ color: rgb(157, 180, 47);
/* oklch */ color: oklch(72.8% 0.154 119.1);
Tailwind
colors: {
  custom: {
    50: '#bdca71',
    500: '#9db42f',
    950: '#000000',
  },
}
SCSS
$custom: #9db42f;
$custom-light: #bdca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9db42f",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 70.376,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72828,
    "c": 0.15447,
    "h": 119.1
  },
  "luminance": 0.40016
}

Semantic roles & 50–950 ramp

primary
#9DB42F
secondary
#8678C7
accent
#46E261
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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