#2A9936#2A9936

#2A9936 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.169 H 144.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2A9936
RGBrgb(42, 153, 54)
HSLhsl(126, 57%, 38%)
HSVhsv(126, 73%, 60%)
CMYKcmyk(72.5%, 0%, 64.7%, 40%)
CIE-LABlab(55.62, -51.03, 42.07)
CIE-LCHlch(55.62, 66.14, 140.50°)
OKLaboklab(60.05% -0.138 0.098)
OKLCHoklch(60.05% 0.169 144.6)
XYZxyz(13.0111, 23.5396, 7.3472)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9936 #992A8D
analogous
#56992A #2A9936 #2A996D
triadic
#2A9936 #362A99 #99362A
tetradic
#2A9936 #2A5699 #992A8D #996D2A
square
#2A9936 #2A5699 #992A8D #996D2A
split-complementary
#2A9936 #6D2A99 #992A56
monochromatic
#103914 #1D6925 #2A9936 #38C847 #68D674

Accessibility & contrast

On white

3.68
#2A9936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#2A9936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9936
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9936#FFFFFF#000000##000000
##2A99361.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2A
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9936;
/* rgb */ color: rgb(42, 153, 54);
/* oklch */ color: oklch(60.1% 0.169 144.6);
Tailwind
colors: {
  custom: {
    50: '#75b871',
    500: '#2a9936',
    950: '#000000',
  },
}
SCSS
$custom: #2a9936;
$custom-light: #75b871;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9936",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 126.486,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.16924,
    "h": 144.6
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#2A9936
secondary
#BC63B2
accent
#48D0E0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9936

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

Preview Lab → · Contrast checker → · Palette generator →

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