#2D7C2B#2D7C2B

#2D7C2B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.140 H 142.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2D7C2B
RGBrgb(45, 124, 43)
HSLhsl(119, 49%, 33%)
HSVhsv(119, 65%, 49%)
CMYKcmyk(63.7%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.83, -40.97, 36.21)
CIE-LCHlch(45.83, 54.68, 138.53°)
OKLaboklab(51.94% -0.1114 0.0844)
OKLCHoklch(51.94% 0.14 142.9)
XYZxyz(8.7254, 15.1468, 4.7488)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C2B #7A2B7C
analogous
#557C2B #2D7C2B #2B7C52
triadic
#2D7C2B #2B2D7C #7C2B2D
tetradic
#2D7C2B #2B557C #7A2B7C #7C522B
square
#2D7C2B #2B557C #7A2B7C #7C522B
split-complementary
#2D7C2B #522B7C #7C2B55
monochromatic
#0C210B #1D4F1B #2D7C2B #3DA93B #5EC65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7C2B#FFFFFF#000000##FFFFFF
##2D7C2B1.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)
#7F7122
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#1E786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c2b;
/* rgb */ color: rgb(45, 124, 43);
/* oklch */ color: oklch(51.9% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a368',
    500: '#2d7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c2b;
$custom-light: #70a368;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c2b",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 118.519,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.13975,
    "h": 142.9
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#2D7C2B
secondary
#AA57AC
accent
#50D8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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