#9DBA2D#9DBA2D

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

Color values

HEX#9DBA2D
RGBrgb(157, 186, 45)
HSLhsl(72, 61%, 45%)
HSVhsv(72, 76%, 73%)
CMYKcmyk(15.6%, 0%, 75.8%, 27.1%)
CIE-LABlab(71.20, -28.24, 63.23)
CIE-LCHlch(71.20, 69.25, 114.07°)
OKLaboklab(74.21% -0.0835 0.1395)
OKLCHoklch(74.21% 0.163 120.9)
XYZxyz(31.9378, 42.4754, 8.9982)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DBA2D #4A2DBA
analogous
#BA902D #9DBA2D #57BA2D
triadic
#9DBA2D #2D9DBA #BA2D9D
tetradic
#9DBA2D #2DBA90 #4A2DBA #BA2D57
square
#9DBA2D #2DBA90 #4A2DBA #BA2D57
split-complementary
#9DBA2D #2D57BA #902DBA
monochromatic
#4A5715 #738921 #9DBA2D #B9D550 #CDE081

Accessibility & contrast

On white

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

On black

9.49
#9DBA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DBA2D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DBA2D#FFFFFF#000000##000000
##9DBA2D1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF09
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#A6B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9dba2d;
/* rgb */ color: rgb(157, 186, 45);
/* oklch */ color: oklch(74.2% 0.163 120.9);
Tailwind
colors: {
  custom: {
    50: '#bece71',
    500: '#9dba2d',
    950: '#000000',
  },
}
SCSS
$custom: #9dba2d;
$custom-light: #bece71;
$custom-dark: #000000;
JSON
{
  "hex": "#9dba2d",
  "rgb": {
    "r": 157,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 72.34,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74208,
    "c": 0.16258,
    "h": 120.9
  },
  "luminance": 0.42475
}

Semantic roles & 50–950 ramp

primary
#9DBA2D
secondary
#8A79C9
accent
#44E465
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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