#2D7B2B#2D7B2B

#2D7B2B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.138 H 142.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2D7B2B
RGBrgb(45, 123, 43)
HSLhsl(119, 48%, 33%)
HSVhsv(119, 65%, 48%)
CMYKcmyk(63.4%, 0%, 65%, 51.8%)
CIE-LABlab(45.49, -40.58, 35.83)
CIE-LCHlch(45.49, 54.14, 138.56°)
OKLaboklab(51.66% -0.1103 0.0835)
OKLCHoklch(51.66% 0.138 142.9)
XYZxyz(8.6007, 14.8974, 4.7073)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B2B #792B7B
analogous
#557B2B #2D7B2B #2B7B51
triadic
#2D7B2B #2B2D7B #7B2B2D
tetradic
#2D7B2B #2B557B #792B7B #7B512B
square
#2D7B2B #2B557B #792B7B #7B512B
split-complementary
#2D7B2B #512B7B #7B2B55
monochromatic
#0C200B #1C4E1B #2D7B2B #3EA83B #5DC65B

Accessibility & contrast

On white

5.28
#2D7B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2D7B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B2B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B2B#FFFFFF#000000##FFFFFF
##2D7B2B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#1F776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b2b;
/* rgb */ color: rgb(45, 123, 43);
/* oklch */ color: oklch(51.7% 0.138 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a268',
    500: '#2d7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b2b;
$custom-light: #70a268;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b2b",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 118.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.13841,
    "h": 142.9
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#2D7B2B
secondary
#A956AB
accent
#50D8D4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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