#2D8826#2D8826

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

Color values

HEX#2D8826
RGBrgb(45, 136, 38)
HSLhsl(116, 56%, 34%)
HSVhsv(116, 72%, 53%)
CMYKcmyk(66.9%, 0%, 72.1%, 46.7%)
CIE-LABlab(49.86, -46.01, 42.77)
CIE-LCHlch(49.86, 62.82, 137.09°)
OKLaboklab(55.26% -0.1253 0.0976)
OKLCHoklch(55.26% 0.159 142.1)
XYZxyz(10.2356, 18.3051, 4.8272)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8826 #812688
analogous
#5E8826 #2D8826 #268850
triadic
#2D8826 #262D88 #88262D
tetradic
#2D8826 #265E88 #812688 #885026
square
#2D8826 #265E88 #812688 #885026
split-complementary
#2D8826 #502688 #88265E
monochromatic
#0D280B #1D5819 #2D8826 #3DB833 #61D058

Accessibility & contrast

On white

4.51
#2D8826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8826#FFFFFF#000000##000000
##2D88261.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#1A8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8826;
/* rgb */ color: rgb(45, 136, 38);
/* oklch */ color: oklch(55.3% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#73ac66',
    500: '#2d8826',
    950: '#000000',
  },
}
SCSS
$custom: #2d8826;
$custom-light: #73ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8826",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 115.714,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.15886,
    "h": 142.1
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#2D8826
secondary
#AE55B5
accent
#48E0D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8826

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

Preview Lab → · Contrast checker → · Palette generator →

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