#2A7D36#2A7D36

#2A7D36 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.133 H 145.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2A7D36
RGBrgb(42, 125, 54)
HSLhsl(129, 50%, 33%)
HSVhsv(129, 66%, 49%)
CMYKcmyk(66.4%, 0%, 56.8%, 51%)
CIE-LABlab(46.21, -40.64, 31.17)
CIE-LCHlch(46.21, 51.22, 142.51°)
OKLaboklab(52.27% -0.1099 0.0745)
OKLCHoklch(52.27% 0.133 145.9)
XYZxyz(8.9537, 15.4249, 5.9948)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D36 #7D2A71
analogous
#477D2A #2A7D36 #2A7D60
triadic
#2A7D36 #362A7D #7D362A
tetradic
#2A7D36 #2A477D #7D2A71 #7D602A
square
#2A7D36 #2A477D #7D2A71 #7D602A
split-complementary
#2A7D36 #602A7D #7D2A47
monochromatic
#0B210E #1B4F22 #2A7D36 #39AB4A #5AC86A

Accessibility & contrast

On white

5.14
#2A7D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7D36
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D36#FFFFFF#000000##FFFFFF
##2A7D361.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#137A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7d36;
/* rgb */ color: rgb(42, 125, 54);
/* oklch */ color: oklch(52.3% 0.133 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ea36f',
    500: '#2a7d36',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d36;
$custom-light: #6ea36f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d36",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 128.675,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.13274,
    "h": 145.9
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#2A7D36
secondary
#AD56A0
accent
#4FC5D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A7D36

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

Preview Lab → · Contrast checker → · Palette generator →

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