#2A9239#2A9239

#2A9239 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.2% C 0.158 H 145.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A9239
RGBrgb(42, 146, 57)
HSLhsl(129, 55%, 37%)
HSVhsv(129, 71%, 57%)
CMYKcmyk(71.2%, 0%, 61%, 42.7%)
CIE-LABlab(53.32, -48.18, 38.06)
CIE-LCHlch(53.32, 61.40, 141.69°)
OKLaboklab(58.16% -0.1301 0.0897)
OKLCHoklch(58.16% 0.158 145.4)
XYZxyz(11.9714, 21.3441, 7.3590)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9239 #922A83
analogous
#4F922A #2A9239 #2A926D
triadic
#2A9239 #392A92 #92392A
tetradic
#2A9239 #2A4F92 #922A83 #926D2A
square
#2A9239 #2A4F92 #922A83 #926D2A
split-complementary
#2A9239 #6D2A92 #922A4F
monochromatic
#0F3314 #1C6226 #2A9239 #38C24C #64D274

Accessibility & contrast

On white

3.99
#2A9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2A9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9239
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9239#FFFFFF#000000##000000
##2A92391.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948530
Deuteranopia (green-blind)
#887C40
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a9239;
/* rgb */ color: rgb(42, 146, 57);
/* oklch */ color: oklch(58.2% 0.158 145.4);
Tailwind
colors: {
  custom: {
    50: '#73b372',
    500: '#2a9239',
    950: '#000000',
  },
}
SCSS
$custom: #2a9239;
$custom-light: #73b372;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9239",
  "rgb": {
    "r": 42,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 128.654,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.15804,
    "h": 145.4
  },
  "luminance": 0.21345
}

Semantic roles & 50–950 ramp

primary
#2A9239
secondary
#B85FAC
accent
#49C9DF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9239

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

Preview Lab → · Contrast checker → · Palette generator →

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