#9DBA2A#9DBA2A

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

Color values

HEX#9DBA2A
RGBrgb(157, 186, 42)
HSLhsl(72, 63%, 45%)
HSVhsv(72, 77%, 73%)
CMYKcmyk(15.6%, 0%, 77.4%, 27.1%)
CIE-LABlab(71.18, -28.38, 64.16)
CIE-LCHlch(71.18, 70.15, 113.86°)
OKLaboklab(74.19% -0.0841 0.1409)
OKLCHoklch(74.19% 0.164 120.8)
XYZxyz(31.8820, 42.4531, 8.7047)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DBA2A #472ABA
analogous
#BA8F2A #9DBA2A #55BA2A
triadic
#9DBA2A #2A9DBA #BA2A9D
tetradic
#9DBA2A #2ABA8F #472ABA #BA2A55
square
#9DBA2A #2ABA8F #472ABA #BA2A55
split-complementary
#9DBA2A #2A55BA #8F2ABA
monochromatic
#495613 #73881F #9DBA2A #BAD64B #CDE27D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DBA2A#FFFFFF#000000##000000
##9DBA2A1.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)
#C6AF00
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#A6B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9dba2a;
/* rgb */ color: rgb(157, 186, 42);
/* oklch */ color: oklch(74.2% 0.164 120.8);
Tailwind
colors: {
  custom: {
    50: '#bece70',
    500: '#9dba2a',
    950: '#000000',
  },
}
SCSS
$custom: #9dba2a;
$custom-light: #bece70;
$custom-dark: #000000;
JSON
{
  "hex": "#9dba2a",
  "rgb": {
    "r": 157,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 72.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.16415,
    "h": 120.8
  },
  "luminance": 0.42453
}

Semantic roles & 50–950 ramp

primary
#9DBA2A
secondary
#8776CA
accent
#42E663
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DBA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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