#9DBA2F#9DBA2F

#9DBA2F is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.2% C 0.161 H 121.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#9DBA2F
RGBrgb(157, 186, 47)
HSLhsl(73, 60%, 46%)
HSVhsv(73, 75%, 73%)
CMYKcmyk(15.6%, 0%, 74.7%, 27.1%)
CIE-LABlab(71.21, -28.14, 62.58)
CIE-LCHlch(71.21, 68.62, 114.22°)
OKLaboklab(74.22% -0.0831 0.1384)
OKLCHoklch(74.22% 0.161 121)
XYZxyz(31.9772, 42.4912, 9.2058)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DBA2F #4C2FBA
analogous
#BA912F #9DBA2F #57BA2F
triadic
#9DBA2F #2F9DBA #BA2F9D
tetradic
#9DBA2F #2FBA91 #4C2FBA #BA2F57
square
#9DBA2F #2FBA91 #4C2FBA #BA2F57
split-complementary
#9DBA2F #2F57BA #912FBA
monochromatic
#4B5816 #748923 #9DBA2F #B9D353 #CDE084

Accessibility & contrast

On white

2.21
#9DBA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#9DBA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DBA2F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DBA2F#FFFFFF#000000##000000
##9DBA2F1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0F
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#A6B0A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9dba2f;
/* rgb */ color: rgb(157, 186, 47);
/* oklch */ color: oklch(74.2% 0.161 121.0);
Tailwind
colors: {
  custom: {
    50: '#bdce72',
    500: '#9dba2f',
    950: '#000000',
  },
}
SCSS
$custom: #9dba2f;
$custom-light: #bdce72;
$custom-dark: #000000;
JSON
{
  "hex": "#9dba2f",
  "rgb": {
    "r": 157,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 72.518,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.16148,
    "h": 121
  },
  "luminance": 0.42491
}

Semantic roles & 50–950 ramp

primary
#9DBA2F
secondary
#8C7CC9
accent
#45E366
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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