#2A9539#2A9539

#2A9539 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.162 H 145.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A9539
RGBrgb(42, 149, 57)
HSLhsl(128, 56%, 37%)
HSVhsv(128, 72%, 58%)
CMYKcmyk(71.8%, 0%, 61.7%, 41.6%)
CIE-LABlab(54.32, -49.26, 39.21)
CIE-LCHlch(54.32, 62.96, 141.48°)
OKLaboklab(58.99% -0.133 0.0922)
OKLCHoklch(58.99% 0.162 145.3)
XYZxyz(12.4400, 22.2812, 7.5152)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9539 #952A86
analogous
#51952A #2A9539 #2A956E
triadic
#2A9539 #392A95 #95392A
tetradic
#2A9539 #2A5195 #952A86 #956E2A
square
#2A9539 #2A5195 #952A86 #956E2A
split-complementary
#2A9539 #6E2A95 #952A51
monochromatic
#0F3614 #1D6527 #2A9539 #37C54B #66D475

Accessibility & contrast

On white

3.85
#2A9539 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2A9539 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9539
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9539#FFFFFF#000000##000000
##2A95391.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872F
Deuteranopia (green-blind)
#8B7F41
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9539;
/* rgb */ color: rgb(42, 149, 57);
/* oklch */ color: oklch(59.0% 0.162 145.3);
Tailwind
colors: {
  custom: {
    50: '#73b573',
    500: '#2a9539',
    950: '#000000',
  },
}
SCSS
$custom: #2a9539;
$custom-light: #73b573;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9539",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 57
  },
  "hsl": {
    "h": 128.411,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.16186,
    "h": 145.3
  },
  "luminance": 0.22283
}

Semantic roles & 50–950 ramp

primary
#2A9539
secondary
#BA61AD
accent
#48CADF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9539

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

Preview Lab → · Contrast checker → · Palette generator →

#2A9539 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva