#2A7D39#2A7D39

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

Color values

HEX#2A7D39
RGBrgb(42, 125, 57)
HSLhsl(131, 50%, 33%)
HSVhsv(131, 66%, 49%)
CMYKcmyk(66.4%, 0%, 54.4%, 51%)
CIE-LABlab(46.25, -40.20, 29.66)
CIE-LCHlch(46.25, 49.95, 143.58°)
OKLaboklab(52.31% -0.1086 0.0713)
OKLCHoklch(52.31% 0.13 146.7)
XYZxyz(9.0264, 15.4540, 6.3773)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D39 #7D2A6E
analogous
#457D2A #2A7D39 #2A7D62
triadic
#2A7D39 #392A7D #7D392A
tetradic
#2A7D39 #2A457D #7D2A6E #7D622A
square
#2A7D39 #2A457D #7D2A6E #7D622A
split-complementary
#2A7D39 #622A7D #7D2A45
monochromatic
#0B210F #1B4F24 #2A7D39 #39AB4E #5AC86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7D39#FFFFFF#000000##FFFFFF
##2A7D391.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)
#7F7233
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#127A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d39;
/* rgb */ color: rgb(42, 125, 57);
/* oklch */ color: oklch(52.3% 0.130 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ea371',
    500: '#2a7d39',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d39;
$custom-light: #6ea371;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d39",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 130.843,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.12991,
    "h": 146.7
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#2A7D39
secondary
#AD569D
accent
#4FC0D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2A7D39

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

Preview Lab → · Contrast checker → · Palette generator →

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