#2D7019#2D7019

#2D7019 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.137 H 139.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2D7019
RGBrgb(45, 112, 25)
HSLhsl(106, 64%, 27%)
HSVhsv(106, 78%, 44%)
CMYKcmyk(59.8%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.56, -37.99, 39.47)
CIE-LCHlch(41.56, 54.78, 133.91°)
OKLaboklab(48.36% -0.1044 0.0889)
OKLCHoklch(48.36% 0.137 139.6)
XYZxyz(7.0515, 12.2158, 2.9058)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7019 #5C1970
analogous
#597019 #2D7019 #197031
triadic
#2D7019 #192D70 #70192D
tetradic
#2D7019 #195970 #5C1970 #703119
square
#2D7019 #195970 #5C1970 #703119
split-complementary
#2D7019 #311970 #701959
monochromatic
#0A1906 #193E0E #2D7019 #41A224 #57D132

Accessibility & contrast

On white

6.10
#2D7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7019
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7019#FFFFFF#000000##FFFFFF
##2D70191.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d7019;
/* rgb */ color: rgb(45, 112, 25);
/* oklch */ color: oklch(48.4% 0.137 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e9a5c',
    500: '#2d7019',
    950: '#000000',
  },
}
SCSS
$custom: #2d7019;
$custom-light: #6e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7019",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 106.207,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.13713,
    "h": 139.6
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#2D7019
secondary
#8E40A5
accent
#41E7C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7019

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

Preview Lab → · Contrast checker → · Palette generator →

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