#2D9227#2D9227

#2D9227 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.170 H 142.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2D9227
RGBrgb(45, 146, 39)
HSLhsl(117, 58%, 36%)
HSVhsv(117, 73%, 57%)
CMYKcmyk(69.2%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.23, -49.51, 45.87)
CIE-LCHlch(53.23, 67.49, 137.19°)
OKLaboklab(58.05% -0.1347 0.1042)
OKLCHoklch(58.05% 0.17 142.3)
XYZxyz(11.7266, 21.2609, 5.4048)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9227 #8C2792
analogous
#639227 #2D9227 #279257
triadic
#2D9227 #272D92 #92272D
tetradic
#2D9227 #276392 #8C2792 #925727
square
#2D9227 #276392 #8C2792 #925727
split-complementary
#2D9227 #572792 #922763
monochromatic
#0F310D #1E621A #2D9227 #3CC234 #66D45F

Accessibility & contrast

On white

4.00
#2D9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2D9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9227
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9227#FFFFFF#000000##000000
##2D92271.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#158E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d9227;
/* rgb */ color: rgb(45, 146, 39);
/* oklch */ color: oklch(58.1% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b368',
    500: '#2d9227',
    950: '#000000',
  },
}
SCSS
$custom: #2d9227;
$custom-light: #75b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9227",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 116.636,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.17034,
    "h": 142.3
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#2D9227
secondary
#B45BBA
accent
#47E1D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D9227

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

Preview Lab → · Contrast checker → · Palette generator →

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