#2D8319#2D8319

#2D8319 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.161 H 140.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D8319
RGBrgb(45, 131, 25)
HSLhsl(109, 68%, 31%)
HSVhsv(109, 81%, 51%)
CMYKcmyk(65.6%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.08, -45.21, 45.83)
CIE-LCHlch(48.08, 64.38, 134.61°)
OKLaboklab(53.76% -0.1239 0.1021)
OKLCHoklch(53.76% 0.161 140.5)
XYZxyz(9.3735, 16.8598, 3.6798)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8319 #6F1983
analogous
#628319 #2D8319 #19833A
triadic
#2D8319 #192D83 #83192D
tetradic
#2D8319 #196283 #6F1983 #833A19
square
#2D8319 #196283 #6F1983 #833A19
split-complementary
#2D8319 #3A1983 #831962
monochromatic
#0A1C05 #1B500F #2D8319 #3FB623 #5ADA3D

Accessibility & contrast

On white

4.80
#2D8319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2D8319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8319
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8319#FFFFFF#000000##FFFFFF
##2D83191.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#1F7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8319;
/* rgb */ color: rgb(45, 131, 25);
/* oklch */ color: oklch(53.8% 0.161 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a85f',
    500: '#2d8319',
    950: '#000000',
  },
}
SCSS
$custom: #2d8319;
$custom-light: #72a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8319",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 108.679,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.16056,
    "h": 140.5
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#2D8319
secondary
#A141B7
accent
#3DEBCA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8319

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

Preview Lab → · Contrast checker → · Palette generator →

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