#2D7C19#2D7C19

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

Color values

HEX#2D7C19
RGBrgb(45, 124, 25)
HSLhsl(108, 66%, 29%)
HSVhsv(108, 80%, 49%)
CMYKcmyk(63.7%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.69, -42.63, 43.53)
CIE-LCHlch(45.69, 60.93, 134.40°)
OKLaboklab(51.78% -0.1169 0.0973)
OKLCHoklch(51.78% 0.152 140.2)
XYZxyz(8.4649, 15.0426, 3.3769)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C19 #68197C
analogous
#5F7C19 #2D7C19 #197C37
triadic
#2D7C19 #192D7C #7C192D
tetradic
#2D7C19 #195F7C #68197C #7C3719
square
#2D7C19 #195F7C #68197C #7C3719
split-complementary
#2D7C19 #37197C #7C195F
monochromatic
#091905 #1B490F #2D7C19 #3FAF23 #58D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7C19#FFFFFF#000000##FFFFFF
##2D7C191.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)
#807001
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#227869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c19;
/* rgb */ color: rgb(45, 124, 25);
/* oklch */ color: oklch(51.8% 0.152 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a35e',
    500: '#2d7c19',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c19;
$custom-light: #71a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c19",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 107.879,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.15214,
    "h": 140.2
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#2D7C19
secondary
#9A40B0
accent
#3EE9C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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