#2A9935#2A9935

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

Color values

HEX#2A9935
RGBrgb(42, 153, 53)
HSLhsl(126, 57%, 38%)
HSVhsv(126, 73%, 60%)
CMYKcmyk(72.5%, 0%, 65.4%, 40%)
CIE-LABlab(55.61, -51.15, 42.50)
CIE-LCHlch(55.61, 66.50, 140.27°)
OKLaboklab(60.04% -0.1383 0.0988)
OKLCHoklch(60.04% 0.17 144.5)
XYZxyz(12.9878, 23.5303, 7.2248)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9935 #992A8E
analogous
#56992A #2A9935 #2A996C
triadic
#2A9935 #352A99 #99352A
tetradic
#2A9935 #2A5699 #992A8E #996C2A
square
#2A9935 #2A5699 #992A8E #996C2A
split-complementary
#2A9935 #6C2A99 #992A56
monochromatic
#103914 #1D6924 #2A9935 #38C846 #68D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9935#FFFFFF#000000##000000
##2A99351.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)
#9C8B29
Deuteranopia (green-blind)
#8F823E
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9935;
/* rgb */ color: rgb(42, 153, 53);
/* oklch */ color: oklch(60.0% 0.170 144.5);
Tailwind
colors: {
  custom: {
    50: '#75b871',
    500: '#2a9935',
    950: '#000000',
  },
}
SCSS
$custom: #2a9935;
$custom-light: #75b871;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9935",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 125.946,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.17001,
    "h": 144.5
  },
  "luminance": 0.23532
}

Semantic roles & 50–950 ramp

primary
#2A9935
secondary
#BC63B3
accent
#48D1E0
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9935

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

Preview Lab → · Contrast checker → · Palette generator →

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