#2D7C1C#2D7C1C

#2D7C1C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.150 H 140.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D7C1C
RGBrgb(45, 124, 28)
HSLhsl(109, 63%, 30%)
HSVhsv(109, 77%, 49%)
CMYKcmyk(63.7%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.71, -42.41, 42.47)
CIE-LCHlch(45.71, 60.02, 134.96°)
OKLaboklab(51.8% -0.1162 0.0956)
OKLCHoklch(51.8% 0.15 140.6)
XYZxyz(8.4990, 15.0562, 3.5566)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C1C #6B1C7C
analogous
#5D7C1C #2D7C1C #1C7C3B
triadic
#2D7C1C #1C2D7C #7C1C2D
tetradic
#2D7C1C #1C5D7C #6B1C7C #7C3B1C
square
#2D7C1C #1C5D7C #6B1C7C #7C3B1C
split-complementary
#2D7C1C #3B1C7C #7C1C5D
monochromatic
#091906 #1B4A11 #2D7C1C #3FAE27 #59D43F

Accessibility & contrast

On white

5.24
#2D7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D7C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C1C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C1C#FFFFFF#000000##FFFFFF
##2D7C1C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#21786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c1c;
/* rgb */ color: rgb(45, 124, 28);
/* oklch */ color: oklch(51.8% 0.150 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a35f',
    500: '#2d7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c1c;
$custom-light: #71a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c1c",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 109.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.518,
    "c": 0.15043,
    "h": 140.6
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#2D7C1C
secondary
#9D44B0
accent
#42E6C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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