#2D7519#2D7519

#2D7519 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.143 H 139.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2D7519
RGBrgb(45, 117, 25)
HSLhsl(107, 65%, 28%)
HSVhsv(107, 79%, 46%)
CMYKcmyk(61.5%, 0%, 78.6%, 54.1%)
CIE-LABlab(43.29, -39.96, 41.18)
CIE-LCHlch(43.29, 57.38, 134.14°)
OKLaboklab(49.79% -0.1097 0.0924)
OKLCHoklch(49.79% 0.143 139.9)
XYZxyz(7.6186, 13.3500, 3.0948)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7519 #611975
analogous
#5B7519 #2D7519 #197533
triadic
#2D7519 #192D75 #75192D
tetradic
#2D7519 #195B75 #611975 #753319
square
#2D7519 #195B75 #611975 #753319
split-complementary
#2D7519 #331975 #75195B
monochromatic
#0A1905 #1A430E #2D7519 #40A724 #57D435

Accessibility & contrast

On white

5.72
#2D7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2D7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7519
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7519#FFFFFF#000000##FFFFFF
##2D75191.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A05
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#247163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7519;
/* rgb */ color: rgb(45, 117, 25);
/* oklch */ color: oklch(49.8% 0.143 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2d7519',
    950: '#000000',
  },
}
SCSS
$custom: #2d7519;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7519",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 106.957,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.14349,
    "h": 139.9
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#2D7519
secondary
#9340AA
accent
#40E8C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7519

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

Preview Lab → · Contrast checker → · Palette generator →

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