#2D7819#2D7819

#2D7819 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.147 H 140.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2D7819
RGBrgb(45, 120, 25)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 79%, 47%)
CMYKcmyk(62.5%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.32, -41.11, 42.19)
CIE-LCHlch(44.32, 58.91, 134.26°)
OKLaboklab(50.64% -0.1128 0.0946)
OKLCHoklch(50.64% 0.147 140)
XYZxyz(7.9738, 14.0603, 3.2132)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7819 #641978
analogous
#5C7819 #2D7819 #197834
triadic
#2D7819 #192D78 #78192D
tetradic
#2D7819 #195C78 #641978 #783419
square
#2D7819 #195C78 #641978 #783419
split-complementary
#2D7819 #341978 #78195C
monochromatic
#091905 #1A450E #2D7819 #40AB24 #58D536

Accessibility & contrast

On white

5.51
#2D7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2D7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7819
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7819#FFFFFF#000000##FFFFFF
##2D78191.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D04
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#237466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7819;
/* rgb */ color: rgb(45, 120, 25);
/* oklch */ color: oklch(50.6% 0.147 140.0);
Tailwind
colors: {
  custom: {
    50: '#70a05d',
    500: '#2d7819',
    950: '#000000',
  },
}
SCSS
$custom: #2d7819;
$custom-light: #70a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7819",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 107.368,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.14722,
    "h": 140
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#2D7819
secondary
#9640AD
accent
#3FE8C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D7819

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

Preview Lab → · Contrast checker → · Palette generator →

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