#2A7D32#2A7D32

#2A7D32 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.136 H 144.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A7D32
RGBrgb(42, 125, 50)
HSLhsl(126, 50%, 33%)
HSVhsv(126, 66%, 49%)
CMYKcmyk(66.4%, 0%, 60%, 51%)
CIE-LABlab(46.16, -41.20, 33.15)
CIE-LCHlch(46.16, 52.88, 141.18°)
OKLaboklab(52.21% -0.1115 0.0785)
OKLCHoklch(52.21% 0.136 144.9)
XYZxyz(8.8636, 15.3889, 5.5202)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D32 #7D2A75
analogous
#4B7D2A #2A7D32 #2A7D5B
triadic
#2A7D32 #322A7D #7D322A
tetradic
#2A7D32 #2A4B7D #7D2A75 #7D5B2A
square
#2A7D32 #2A4B7D #7D2A75 #7D5B2A
split-complementary
#2A7D32 #5B2A7D #7D2A4B
monochromatic
#0B210D #1B4F20 #2A7D32 #39AB44 #5AC864

Accessibility & contrast

On white

5.15
#2A7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2A7D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D32
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D32#FFFFFF#000000##FFFFFF
##2A7D321.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722A
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#157A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7d32;
/* rgb */ color: rgb(42, 125, 50);
/* oklch */ color: oklch(52.2% 0.136 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ea36c',
    500: '#2a7d32',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d32;
$custom-light: #6ea36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d32",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 125.783,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.13637,
    "h": 144.9
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#2A7D32
secondary
#AD56A5
accent
#4FCCD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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