#2D7B19#2D7B19

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

Color values

HEX#2D7B19
RGBrgb(45, 123, 25)
HSLhsl(108, 66%, 29%)
HSVhsv(108, 80%, 48%)
CMYKcmyk(63.4%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.35, -42.25, 43.20)
CIE-LCHlch(45.35, 60.43, 134.37°)
OKLaboklab(51.5% -0.1159 0.0967)
OKLCHoklch(51.5% 0.151 140.2)
XYZxyz(8.3402, 14.7932, 3.3354)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B19 #67197B
analogous
#5E7B19 #2D7B19 #197B36
triadic
#2D7B19 #192D7B #7B192D
tetradic
#2D7B19 #195E7B #67197B #7B3619
square
#2D7B19 #195E7B #67197B #7B3619
split-complementary
#2D7B19 #36197B #7B195E
monochromatic
#091905 #1A480F #2D7B19 #40AE23 #58D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7B19#FFFFFF#000000##FFFFFF
##2D7B191.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)
#7F6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#227769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b19;
/* rgb */ color: rgb(45, 123, 25);
/* oklch */ color: oklch(51.5% 0.151 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a25e',
    500: '#2d7b19',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b19;
$custom-light: #71a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b19",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 107.755,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.15093,
    "h": 140.2
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#2D7B19
secondary
#9940AF
accent
#3FE9C6
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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