#2A9038#2A9038

#2A9038 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.156 H 145.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A9038
RGBrgb(42, 144, 56)
HSLhsl(128, 55%, 36%)
HSVhsv(128, 71%, 56%)
CMYKcmyk(70.8%, 0%, 61.1%, 43.5%)
CIE-LABlab(52.65, -47.58, 37.75)
CIE-LCHlch(52.65, 60.73, 141.57°)
OKLaboklab(57.59% -0.1285 0.089)
OKLCHoklch(57.59% 0.156 145.3)
XYZxyz(11.6411, 20.7230, 7.1271)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9038 #902A82
analogous
#4F902A #2A9038 #2A906B
triadic
#2A9038 #382A90 #90382A
tetradic
#2A9038 #2A4F90 #902A82 #906B2A
square
#2A9038 #2A4F90 #902A82 #906B2A
split-complementary
#2A9038 #6B2A90 #902A4F
monochromatic
#0E3113 #1C6126 #2A9038 #38BF4A #63D172

Accessibility & contrast

On white

4.08
#2A9038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2A9038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9038
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9038#FFFFFF#000000##000000
##2A90381.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832F
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#028C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a9038;
/* rgb */ color: rgb(42, 144, 56);
/* oklch */ color: oklch(57.6% 0.156 145.3);
Tailwind
colors: {
  custom: {
    50: '#72b172',
    500: '#2a9038',
    950: '#000000',
  },
}
SCSS
$custom: #2a9038;
$custom-light: #72b172;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9038",
  "rgb": {
    "r": 42,
    "g": 144,
    "b": 56
  },
  "hsl": {
    "h": 128.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.15631,
    "h": 145.3
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#2A9038
secondary
#B75EAB
accent
#4ACADE
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2A9038

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

Preview Lab → · Contrast checker → · Palette generator →

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