#2D8927#2D8927

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

Color values

HEX#2D8927
RGBrgb(45, 137, 39)
HSLhsl(116, 56%, 35%)
HSVhsv(116, 72%, 54%)
CMYKcmyk(67.2%, 0%, 71.5%, 46.3%)
CIE-LABlab(50.21, -46.29, 42.72)
CIE-LCHlch(50.21, 62.99, 137.29°)
OKLaboklab(55.55% -0.126 0.0976)
OKLCHoklch(55.55% 0.159 142.2)
XYZxyz(10.3935, 18.5946, 4.9605)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8927 #832789
analogous
#5E8927 #2D8927 #278952
triadic
#2D8927 #272D89 #89272D
tetradic
#2D8927 #275E89 #832789 #895227
square
#2D8927 #275E89 #832789 #895227
split-complementary
#2D8927 #522789 #89275E
monochromatic
#0E2A0C #1D5919 #2D8927 #3DB935 #62D05A

Accessibility & contrast

On white

4.45
#2D8927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2D8927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8927
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8927#FFFFFF#000000##000000
##2D89271.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#817530
Tritanopia (blue-blind)
#1A8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8927;
/* rgb */ color: rgb(45, 137, 39);
/* oklch */ color: oklch(55.5% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ac67',
    500: '#2d8927',
    950: '#000000',
  },
}
SCSS
$custom: #2d8927;
$custom-light: #73ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8927",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 116.327,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.15941,
    "h": 142.2
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#2D8927
secondary
#AF57B5
accent
#49DFD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8927

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

Preview Lab → · Contrast checker → · Palette generator →

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