#2A7D3A#2A7D3A

#2A7D3A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.129 H 147.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2A7D3A
RGBrgb(42, 125, 58)
HSLhsl(132, 50%, 33%)
HSVhsv(132, 66%, 49%)
CMYKcmyk(66.4%, 0%, 53.6%, 51%)
CIE-LABlab(46.26, -40.04, 29.14)
CIE-LCHlch(46.26, 49.53, 143.95°)
OKLaboklab(52.33% -0.1081 0.0703)
OKLCHoklch(52.33% 0.129 147)
XYZxyz(9.0516, 15.4640, 6.5100)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D3A #7D2A6D
analogous
#447D2A #2A7D3A #2A7D63
triadic
#2A7D3A #3A2A7D #7D3A2A
tetradic
#2A7D3A #2A447D #7D2A6D #7D632A
square
#2A7D3A #2A447D #7D2A6D #7D632A
split-complementary
#2A7D3A #632A7D #7D2A44
monochromatic
#0B210F #1B4F25 #2A7D3A #39AB4F #5AC86F

Accessibility & contrast

On white

5.13
#2A7D3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2A7D3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D3A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D3A#FFFFFF#000000##FFFFFF
##2A7D3A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7234
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#117A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d3a;
/* rgb */ color: rgb(42, 125, 58);
/* oklch */ color: oklch(52.3% 0.129 147.0);
Tailwind
colors: {
  custom: {
    50: '#6ea372',
    500: '#2a7d3a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d3a;
$custom-light: #6ea372;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d3a",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 131.566,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.12896,
    "h": 147
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#2A7D3A
secondary
#AD569C
accent
#4FBED9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2A7D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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