#2D7016#2D7016

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

Color values

HEX#2D7016
RGBrgb(45, 112, 22)
HSLhsl(105, 67%, 26%)
HSVhsv(105, 80%, 44%)
CMYKcmyk(59.8%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.54, -38.22, 40.56)
CIE-LCHlch(41.54, 55.73, 133.29°)
OKLaboklab(48.34% -0.1052 0.0907)
OKLCHoklch(48.34% 0.139 139.2)
XYZxyz(7.0209, 12.2036, 2.7444)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7016 #591670
analogous
#5A7016 #2D7016 #16702C
triadic
#2D7016 #162D70 #70162D
tetradic
#2D7016 #165A70 #591670 #702C16
square
#2D7016 #165A70 #591670 #702C16
split-complementary
#2D7016 #2C1670 #70165A
monochromatic
#0A1A05 #183D0C #2D7016 #42A320 #57D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7016#FFFFFF#000000##FFFFFF
##2D70161.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)
#736502
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#266C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d7016;
/* rgb */ color: rgb(45, 112, 22);
/* oklch */ color: oklch(48.3% 0.139 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a5b',
    500: '#2d7016',
    950: '#000000',
  },
}
SCSS
$custom: #2d7016;
$custom-light: #6f9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7016",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 104.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.13892,
    "h": 139.2
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#2D7016
secondary
#8B3CA6
accent
#3EEABE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7016

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

Preview Lab → · Contrast checker → · Palette generator →

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