#2A9536#2A9536

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

Color values

HEX#2A9536
RGBrgb(42, 149, 54)
HSLhsl(127, 56%, 37%)
HSVhsv(127, 72%, 58%)
CMYKcmyk(71.8%, 0%, 63.8%, 41.6%)
CIE-LABlab(54.29, -49.62, 40.57)
CIE-LCHlch(54.29, 64.10, 140.73°)
OKLaboklab(58.95% -0.1341 0.0948)
OKLCHoklch(58.95% 0.164 144.7)
XYZxyz(12.3673, 22.2521, 7.1326)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9536 #952A89
analogous
#53952A #2A9536 #2A956C
triadic
#2A9536 #362A95 #95362A
tetradic
#2A9536 #2A5395 #952A89 #956C2A
square
#2A9536 #2A5395 #952A89 #956C2A
split-complementary
#2A9536 #6C2A95 #952A53
monochromatic
#0F3613 #1D6525 #2A9536 #37C547 #66D472

Accessibility & contrast

On white

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

On black

5.45
#2A9536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9536
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9536#FFFFFF#000000##000000
##2A95361.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872B
Deuteranopia (green-blind)
#8B7E3E
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9536;
/* rgb */ color: rgb(42, 149, 54);
/* oklch */ color: oklch(59.0% 0.164 144.7);
Tailwind
colors: {
  custom: {
    50: '#74b571',
    500: '#2a9536',
    950: '#000000',
  },
}
SCSS
$custom: #2a9536;
$custom-light: #74b571;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9536",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 54
  },
  "hsl": {
    "h": 126.729,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.16427,
    "h": 144.7
  },
  "luminance": 0.22253
}

Semantic roles & 50–950 ramp

primary
#2A9536
secondary
#BA61B0
accent
#48CEDF
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9536

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

Preview Lab → · Contrast checker → · Palette generator →

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