#2D8828#2D8828

#2D8828 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.157 H 142.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D8828
RGBrgb(45, 136, 40)
HSLhsl(117, 55%, 35%)
HSVhsv(117, 71%, 53%)
CMYKcmyk(66.9%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.88, -45.83, 41.96)
CIE-LCHlch(49.88, 62.13, 137.52°)
OKLaboklab(55.28% -0.1247 0.0962)
OKLCHoklch(55.28% 0.157 142.4)
XYZxyz(10.2688, 18.3184, 5.0017)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8828 #832888
analogous
#5D8828 #2D8828 #288853
triadic
#2D8828 #282D88 #88282D
tetradic
#2D8828 #285D88 #832888 #885328
square
#2D8828 #285D88 #832888 #885328
split-complementary
#2D8828 #532888 #88285D
monochromatic
#0E290C #1D591A #2D8828 #3DB736 #62CF5B

Accessibility & contrast

On white

4.50
#2D8828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2D8828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8828
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8828#FFFFFF#000000##000000
##2D88281.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#1A8475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8828;
/* rgb */ color: rgb(45, 136, 40);
/* oklch */ color: oklch(55.3% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#73ac67',
    500: '#2d8828',
    950: '#000000',
  },
}
SCSS
$custom: #2d8828;
$custom-light: #73ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8828",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 116.875,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.15748,
    "h": 142.4
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#2D8828
secondary
#AF58B4
accent
#4ADED6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8828

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

Preview Lab → · Contrast checker → · Palette generator →

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