#2D7B2C#2D7B2C

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

Color values

HEX#2D7B2C
RGBrgb(45, 123, 44)
HSLhsl(119, 47%, 33%)
HSVhsv(119, 64%, 48%)
CMYKcmyk(63.4%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.50, -40.46, 35.36)
CIE-LCHlch(45.50, 53.74, 138.85°)
OKLaboklab(51.67% -0.11 0.0827)
OKLCHoklch(51.67% 0.138 143.1)
XYZxyz(8.6193, 14.9048, 4.8051)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B2C #7A2C7B
analogous
#547B2C #2D7B2C #2C7B53
triadic
#2D7B2C #2C2D7B #7B2C2D
tetradic
#2D7B2C #2C547B #7A2C7B #7B532C
square
#2D7B2C #2C547B #7A2C7B #7B532C
split-complementary
#2D7B2C #532C7B #7B2C54
monochromatic
#0C210C #1D4E1C #2D7B2C #3DA83C #5EC55D

Accessibility & contrast

On white

5.27
#2D7B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7B2C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B2C#FFFFFF#000000##FFFFFF
##2D7B2C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#1E776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b2c;
/* rgb */ color: rgb(45, 123, 44);
/* oklch */ color: oklch(51.7% 0.138 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a268',
    500: '#2d7b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b2c;
$custom-light: #70a268;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b2c",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 119.241,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.13757,
    "h": 143.1
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#2D7B2C
secondary
#AA58AB
accent
#51D7D5
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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