#2D7C1B#2D7C1B

#2D7C1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D7C1B
RGBrgb(45, 124, 27)
HSLhsl(109, 64%, 30%)
HSVhsv(109, 78%, 49%)
CMYKcmyk(63.7%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.70, -42.48, 42.83)
CIE-LCHlch(45.70, 60.33, 134.77°)
OKLaboklab(51.79% -0.1164 0.0962)
OKLCHoklch(51.79% 0.151 140.4)
XYZxyz(8.4873, 15.0515, 3.4947)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C1B #6A1B7C
analogous
#5E7C1B #2D7C1B #1B7C3A
triadic
#2D7C1B #1B2D7C #7C1B2D
tetradic
#2D7C1B #1B5E7C #6A1B7C #7C3A1B
square
#2D7C1B #1B5E7C #6A1B7C #7C3A1B
split-complementary
#2D7C1B #3A1B7C #7C1B5E
monochromatic
#091905 #1B4A10 #2D7C1B #3FAE26 #59D53D

Accessibility & contrast

On white

5.24
#2D7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C1B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C1B#FFFFFF#000000##FFFFFF
##2D7C1B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#21786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c1b;
/* rgb */ color: rgb(45, 124, 27);
/* oklch */ color: oklch(51.8% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a35f',
    500: '#2d7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c1b;
$custom-light: #71a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c1b",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 108.866,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.15102,
    "h": 140.4
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#2D7C1B
secondary
#9C43B0
accent
#41E7C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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