#2D7419#2D7419

#2D7419 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.142 H 139.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2D7419
RGBrgb(45, 116, 25)
HSLhsl(107, 65%, 28%)
HSVhsv(107, 78%, 45%)
CMYKcmyk(61.2%, 0%, 78.4%, 54.5%)
CIE-LABlab(42.94, -39.57, 40.84)
CIE-LCHlch(42.94, 56.87, 134.09°)
OKLaboklab(49.5% -0.1087 0.0917)
OKLCHoklch(49.5% 0.142 139.8)
XYZxyz(7.5027, 13.1182, 3.0562)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7419 #601974
analogous
#5B7419 #2D7419 #197432
triadic
#2D7419 #192D74 #74192D
tetradic
#2D7419 #195B74 #601974 #743219
square
#2D7419 #195B74 #601974 #743219
split-complementary
#2D7419 #321974 #74195B
monochromatic
#0A1905 #19420E #2D7419 #41A624 #57D334

Accessibility & contrast

On white

5.80
#2D7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2D7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7419
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7419#FFFFFF#000000##FFFFFF
##2D74191.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#6F6323
Tritanopia (blue-blind)
#247063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7419;
/* rgb */ color: rgb(45, 116, 25);
/* oklch */ color: oklch(49.5% 0.142 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2d7419',
    950: '#000000',
  },
}
SCSS
$custom: #2d7419;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7419",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 106.813,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.14222,
    "h": 139.8
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#2D7419
secondary
#9240A9
accent
#40E8C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7419

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

Preview Lab → · Contrast checker → · Palette generator →

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