#2D8922#2D8922

#2D8922 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.163 H 141.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2D8922
RGBrgb(45, 137, 34)
HSLhsl(114, 60%, 34%)
HSVhsv(114, 75%, 54%)
CMYKcmyk(67.2%, 0%, 75.2%, 46.3%)
CIE-LABlab(50.17, -46.72, 44.67)
CIE-LCHlch(50.17, 64.64, 136.28°)
OKLaboklab(55.51% -0.1275 0.101)
OKLCHoklch(55.51% 0.163 141.6)
XYZxyz(10.3160, 18.5637, 4.5526)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8922 #7E2289
analogous
#608922 #2D8922 #22894A
triadic
#2D8922 #222D89 #89222D
tetradic
#2D8922 #226089 #7E2289 #894A22
square
#2D8922 #226089 #7E2289 #894A22
split-complementary
#2D8922 #4A2289 #892260
monochromatic
#0D270A #1D5816 #2D8922 #3DBA2E #5FD451

Accessibility & contrast

On white

4.46
#2D8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2D8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8922
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8922#FFFFFF#000000##000000
##2D89221.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#81752D
Tritanopia (blue-blind)
#1B8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8922;
/* rgb */ color: rgb(45, 137, 34);
/* oklch */ color: oklch(55.5% 0.163 141.6);
Tailwind
colors: {
  custom: {
    50: '#73ac64',
    500: '#2d8922',
    950: '#000000',
  },
}
SCSS
$custom: #2d8922;
$custom-light: #73ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8922",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 113.592,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.16266,
    "h": 141.6
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#2D8922
secondary
#AC4FB8
accent
#44E3D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8922

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

Preview Lab → · Contrast checker → · Palette generator →

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