#2D813D#2D813D

#2D813D is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.130 H 147.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D813D
RGBrgb(45, 129, 61)
HSLhsl(131, 48%, 34%)
HSVhsv(131, 65%, 51%)
CMYKcmyk(65.1%, 0%, 52.7%, 49.4%)
CIE-LABlab(47.74, -40.51, 29.40)
CIE-LCHlch(47.74, 50.05, 144.03°)
OKLaboklab(53.59% -0.1094 0.071)
OKLCHoklch(53.59% 0.13 147)
XYZxyz(9.7741, 16.5943, 7.1019)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D813D #812D71
analogous
#47812D #2D813D #2D8167
triadic
#2D813D #3D2D81 #813D2D
tetradic
#2D813D #2D4781 #812D71 #81672D
square
#2D813D #2D4781 #812D71 #81672D
split-complementary
#2D813D #672D81 #812D47
monochromatic
#0D2612 #1D5428 #2D813D #3DAE52 #61C874

Accessibility & contrast

On white

4.86
#2D813D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2D813D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D813D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D813D#FFFFFF#000000##FFFFFF
##2D813D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837637
Deuteranopia (green-blind)
#786E42
Tritanopia (blue-blind)
#157E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d813d;
/* rgb */ color: rgb(45, 129, 61);
/* oklch */ color: oklch(53.6% 0.130 147.0);
Tailwind
colors: {
  custom: {
    50: '#70a674',
    500: '#2d813d',
    950: '#000000',
  },
}
SCSS
$custom: #2d813d;
$custom-light: #70a674;
$custom-dark: #000000;
JSON
{
  "hex": "#2d813d",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 61
  },
  "hsl": {
    "h": 131.429,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.13044,
    "h": 147
  },
  "luminance": 0.16595
}

Semantic roles & 50–950 ramp

primary
#2D813D
secondary
#AE5C9E
accent
#50BED8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D813D

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

Preview Lab → · Contrast checker → · Palette generator →

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