#2D7E2F#2D7E2F

#2D7E2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.139 H 143.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D7E2F
RGBrgb(45, 126, 47)
HSLhsl(121, 47%, 34%)
HSVhsv(121, 64%, 49%)
CMYKcmyk(64.3%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.56, -41.28, 35.11)
CIE-LCHlch(46.56, 54.19, 139.61°)
OKLaboklab(52.55% -0.112 0.0824)
OKLCHoklch(52.55% 0.139 143.7)
XYZxyz(9.0556, 15.6840, 5.2389)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E2F #7E2D7C
analogous
#537E2D #2D7E2F #2D7E57
triadic
#2D7E2F #2F2D7E #7E2F2D
tetradic
#2D7E2F #2D537E #7E2D7C #7E572D
square
#2D7E2F #2D537E #7E2D7C #7E572D
split-complementary
#2D7E2F #572D7E #7E2D53
monochromatic
#0D240D #1D511E #2D7E2F #3DAB40 #5FC662

Accessibility & contrast

On white

5.08
#2D7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2D7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E2F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E2F#FFFFFF#000000##FFFFFF
##2D7E2F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#1C7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e2f;
/* rgb */ color: rgb(45, 126, 47);
/* oklch */ color: oklch(52.6% 0.139 143.7);
Tailwind
colors: {
  custom: {
    50: '#70a46a',
    500: '#2d7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e2f;
$custom-light: #70a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e2f",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 121.481,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.13907,
    "h": 143.7
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#2D7E2F
secondary
#AC5AAA
accent
#51D4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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