#2D8011#2D8011

#2D8011 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.161 H 139.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D8011
RGBrgb(45, 128, 17)
HSLhsl(105, 77%, 28%)
HSVhsv(105, 87%, 50%)
CMYKcmyk(64.8%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.02, -44.58, 47.22)
CIE-LCHlch(47.02, 64.94, 133.35°)
OKLaboklab(52.87% -0.1226 0.1039)
OKLCHoklch(52.87% 0.161 139.7)
XYZxyz(8.9021, 16.0358, 3.1563)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8011 #641180
analogous
#648011 #2D8011 #11802C
triadic
#2D8011 #112D80 #80112D
tetradic
#2D8011 #116480 #641180 #802C11
square
#2D8011 #116480 #641180 #802C11
split-complementary
#2D8011 #2C1180 #801164
monochromatic
#091B04 #1A4A0A #2D8011 #40B618 #58E329

Accessibility & contrast

On white

4.99
#2D8011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2D8011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8011
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8011#FFFFFF#000000##FFFFFF
##2D80111.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#217B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d8011;
/* rgb */ color: rgb(45, 128, 17);
/* oklch */ color: oklch(52.9% 0.161 139.7);
Tailwind
colors: {
  custom: {
    50: '#72a65b',
    500: '#2d8011',
    950: '#000000',
  },
}
SCSS
$custom: #2d8011;
$custom-light: #72a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8011",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 104.865,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.16068,
    "h": 139.7
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#2D8011
secondary
#9637B6
accent
#35F3C3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D8011

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

Preview Lab → · Contrast checker → · Palette generator →

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