#2D8227#2D8227

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

Color values

HEX#2D8227
RGBrgb(45, 130, 39)
HSLhsl(116, 54%, 33%)
HSVhsv(116, 70%, 51%)
CMYKcmyk(65.4%, 0%, 70%, 49%)
CIE-LABlab(47.84, -43.70, 40.21)
CIE-LCHlch(47.84, 59.39, 137.38°)
OKLaboklab(53.59% -0.119 0.0924)
OKLCHoklch(53.59% 0.151 142.2)
XYZxyz(9.4305, 16.6687, 4.6395)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8227 #7C2782
analogous
#5A8227 #2D8227 #27824E
triadic
#2D8227 #272D82 #82272D
tetradic
#2D8227 #275A82 #7C2782 #824E27
square
#2D8227 #275A82 #7C2782 #824E27
split-complementary
#2D8227 #4E2782 #82275A
monochromatic
#0C240B #1D5319 #2D8227 #3DB135 #5FCD57

Accessibility & contrast

On white

4.85
#2D8227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2D8227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8227
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8227#FFFFFF#000000##FFFFFF
##2D82271.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#1D7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8227;
/* rgb */ color: rgb(45, 130, 39);
/* oklch */ color: oklch(53.6% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a766',
    500: '#2d8227',
    950: '#000000',
  },
}
SCSS
$custom: #2d8227;
$custom-light: #71a766;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8227",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 116.044,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.15064,
    "h": 142.2
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#2D8227
secondary
#AB53B1
accent
#4BDDD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8227

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

Preview Lab → · Contrast checker → · Palette generator →

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