#2D7B1C#2D7B1C

#2D7B1C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.149 H 140.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2D7B1C
RGBrgb(45, 123, 28)
HSLhsl(109, 63%, 30%)
HSVhsv(109, 77%, 48%)
CMYKcmyk(63.4%, 0%, 77.2%, 51.8%)
CIE-LABlab(45.37, -42.03, 42.13)
CIE-LCHlch(45.37, 59.51, 134.94°)
OKLaboklab(51.52% -0.1151 0.0949)
OKLCHoklch(51.52% 0.149 140.5)
XYZxyz(8.3743, 14.8069, 3.5151)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B1C #6A1C7B
analogous
#5D7B1C #2D7B1C #1C7B3B
triadic
#2D7B1C #1C2D7B #7B1C2D
tetradic
#2D7B1C #1C5D7B #6A1C7B #7B3B1C
square
#2D7B1C #1C5D7B #6A1C7B #7B3B1C
split-complementary
#2D7B1C #3B1C7B #7B1C5D
monochromatic
#091906 #1B4911 #2D7B1C #3FAD27 #59D33E

Accessibility & contrast

On white

5.30
#2D7B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2D7B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B1C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B1C#FFFFFF#000000##FFFFFF
##2D7B1C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#227769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b1c;
/* rgb */ color: rgb(45, 123, 28);
/* oklch */ color: oklch(51.5% 0.149 140.5);
Tailwind
colors: {
  custom: {
    50: '#71a25f',
    500: '#2d7b1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b1c;
$custom-light: #71a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b1c",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 109.263,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.14919,
    "h": 140.5
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#2D7B1C
secondary
#9C44AF
accent
#42E6C9
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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