#2D7C2C#2D7C2C

#2D7C2C is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.139 H 143.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2D7C2C
RGBrgb(45, 124, 44)
HSLhsl(119, 48%, 33%)
HSVhsv(119, 65%, 49%)
CMYKcmyk(63.7%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.84, -40.86, 35.75)
CIE-LCHlch(45.84, 54.29, 138.81°)
OKLaboklab(51.95% -0.111 0.0835)
OKLCHoklch(51.95% 0.139 143.1)
XYZxyz(8.7440, 15.1542, 4.8466)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C2C #7B2C7C
analogous
#557C2C #2D7C2C #2C7C53
triadic
#2D7C2C #2C2D7C #7C2C2D
tetradic
#2D7C2C #2C557C #7B2C7C #7C532C
square
#2D7C2C #2C557C #7B2C7C #7C532C
split-complementary
#2D7C2C #532C7C #7C2C55
monochromatic
#0C220C #1D4F1C #2D7C2C #3DA93C #5EC55D

Accessibility & contrast

On white

5.21
#2D7C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2D7C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C2C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C2C#FFFFFF#000000##FFFFFF
##2D7C2C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#1E786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c2c;
/* rgb */ color: rgb(45, 124, 44);
/* oklch */ color: oklch(52.0% 0.139 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a368',
    500: '#2d7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c2c;
$custom-light: #70a368;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c2c",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 119.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.13892,
    "h": 143.1
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#2D7C2C
secondary
#AB58AC
accent
#51D7D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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