#2D822B#2D822B

#2D822B is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.148 H 142.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D822B
RGBrgb(45, 130, 43)
HSLhsl(119, 50%, 34%)
HSVhsv(119, 67%, 51%)
CMYKcmyk(65.4%, 0%, 66.9%, 49%)
CIE-LABlab(47.88, -43.28, 38.48)
CIE-LCHlch(47.88, 57.91, 138.36°)
OKLaboklab(53.63% -0.1177 0.0892)
OKLCHoklch(53.63% 0.148 142.8)
XYZxyz(9.5003, 16.6966, 5.0071)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D822B #802B82
analogous
#59822B #2D822B #2B8255
triadic
#2D822B #2B2D82 #822B2D
tetradic
#2D822B #2B5982 #802B82 #82552B
square
#2D822B #2B5982 #802B82 #82552B
split-complementary
#2D822B #552B82 #822B59
monochromatic
#0D260D #1D541C #2D822B #3DB03A #60CA5E

Accessibility & contrast

On white

4.84
#2D822B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2D822B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D822B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D822B#FFFFFF#000000##FFFFFF
##2D822B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#1C7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d822b;
/* rgb */ color: rgb(45, 130, 43);
/* oklch */ color: oklch(53.6% 0.148 142.8);
Tailwind
colors: {
  custom: {
    50: '#71a768',
    500: '#2d822b',
    950: '#000000',
  },
}
SCSS
$custom: #2d822b;
$custom-light: #71a768;
$custom-dark: #000000;
JSON
{
  "hex": "#2d822b",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 118.621,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.14763,
    "h": 142.8
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#2D822B
secondary
#AE59B0
accent
#4EDAD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D822B

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

Preview Lab → · Contrast checker → · Palette generator →

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