#2D8312#2D8312

#2D8312 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.164 H 139.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D8312
RGBrgb(45, 131, 18)
HSLhsl(106, 76%, 29%)
HSVhsv(106, 86%, 51%)
CMYKcmyk(65.6%, 0%, 86.3%, 48.6%)
CIE-LABlab(48.05, -45.61, 47.88)
CIE-LCHlch(48.05, 66.13, 133.61°)
OKLaboklab(53.72% -0.1253 0.1054)
OKLCHoklch(53.72% 0.164 139.9)
XYZxyz(9.3072, 16.8333, 3.3308)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8312 #681283
analogous
#668312 #2D8312 #128330
triadic
#2D8312 #122D83 #83122D
tetradic
#2D8312 #126683 #681283 #833012
square
#2D8312 #126683 #681283 #833012
split-complementary
#2D8312 #301283 #831266
monochromatic
#091B04 #1B4D0B #2D8312 #3FB919 #58E22D

Accessibility & contrast

On white

4.81
#2D8312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D8312
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8312#FFFFFF#000000##FFFFFF
##2D83121.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D6F21
Tritanopia (blue-blind)
#207E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8312;
/* rgb */ color: rgb(45, 131, 18);
/* oklch */ color: oklch(53.7% 0.164 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a85c',
    500: '#2d8312',
    950: '#000000',
  },
}
SCSS
$custom: #2d8312;
$custom-light: #73a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8312",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 105.664,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.16375,
    "h": 139.9
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#2D8312
secondary
#9A38B8
accent
#35F2C5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8312

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

Preview Lab → · Contrast checker → · Palette generator →

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