#2D7C30#2D7C30

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

Color values

HEX#2D7C30
RGBrgb(45, 124, 48)
HSLhsl(122, 47%, 33%)
HSVhsv(122, 64%, 49%)
CMYKcmyk(63.7%, 0%, 61.3%, 51.4%)
CIE-LABlab(45.89, -40.37, 33.85)
CIE-LCHlch(45.89, 52.68, 140.01°)
OKLaboklab(52% -0.1095 0.0798)
OKLCHoklch(52% 0.135 143.9)
XYZxyz(8.8228, 15.1857, 5.2619)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C30 #7C2D79
analogous
#517C2D #2D7C30 #2D7C57
triadic
#2D7C30 #302D7C #7C302D
tetradic
#2D7C30 #2D517C #7C2D79 #7C572D
square
#2D7C30 #2D517C #7C2D79 #7C572D
split-complementary
#2D7C30 #572D7C #7C2D51
monochromatic
#0C220D #1D4F1F #2D7C30 #3DA941 #5FC562

Accessibility & contrast

On white

5.20
#2D7C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2D7C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C30
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C30#FFFFFF#000000##FFFFFF
##2D7C301.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7128
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#1D796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c30;
/* rgb */ color: rgb(45, 124, 48);
/* oklch */ color: oklch(52.0% 0.135 143.9);
Tailwind
colors: {
  custom: {
    50: '#70a36b',
    500: '#2d7c30',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c30;
$custom-light: #70a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c30",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 48
  },
  "hsl": {
    "h": 122.278,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.13549,
    "h": 143.9
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#2D7C30
secondary
#AB5AA8
accent
#51D1D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7C30

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

Preview Lab → · Contrast checker → · Palette generator →

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