#2A7D3E#2A7D3E

#2A7D3E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.125 H 148.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2A7D3E
RGBrgb(42, 125, 62)
HSLhsl(134, 50%, 33%)
HSVhsv(134, 66%, 49%)
CMYKcmyk(66.4%, 0%, 50.4%, 51%)
CIE-LABlab(46.32, -39.40, 27.07)
CIE-LCHlch(46.32, 47.81, 145.51°)
OKLaboklab(52.39% -0.1063 0.0658)
OKLCHoklch(52.39% 0.125 148.2)
XYZxyz(9.1573, 15.5063, 7.0669)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D3E #7D2A69
analogous
#3F7D2A #2A7D3E #2A7D68
triadic
#2A7D3E #3E2A7D #7D3E2A
tetradic
#2A7D3E #2A3F7D #7D2A69 #7D682A
square
#2A7D3E #2A3F7D #7D2A69 #7D682A
split-complementary
#2A7D3E #682A7D #7D2A3F
monochromatic
#0B2111 #1B4F27 #2A7D3E #39AB55 #5AC874

Accessibility & contrast

On white

5.12
#2A7D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2A7D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D3E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D3E#FFFFFF#000000##FFFFFF
##2A7D3E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#0F7A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d3e;
/* rgb */ color: rgb(42, 125, 62);
/* oklch */ color: oklch(52.4% 0.125 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ea374',
    500: '#2a7d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d3e;
$custom-light: #6ea374;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d3e",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 134.458,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.12507,
    "h": 148.2
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#2A7D3E
secondary
#AD5698
accent
#4FB8D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2A7D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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