#2D8E2B#2D8E2B

#2D8E2B is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.163 H 142.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D8E2B
RGBrgb(45, 142, 43)
HSLhsl(119, 54%, 36%)
HSVhsv(119, 70%, 56%)
CMYKcmyk(68.3%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.92, -47.72, 42.86)
CIE-LCHlch(51.92, 64.14, 138.07°)
OKLaboklab(56.98% -0.1297 0.0984)
OKLCHoklch(56.98% 0.163 142.8)
XYZxyz(11.1906, 20.0771, 5.5706)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E2B #8C2B8E
analogous
#5F8E2B #2D8E2B #2B8E5B
triadic
#2D8E2B #2B2D8E #8E2B2D
tetradic
#2D8E2B #2B5F8E #8C2B8E #8E5B2B
square
#2D8E2B #2B5F8E #8C2B8E #8E5B2B
split-complementary
#2D8E2B #5B2B8E #8E2B5F
monochromatic
#0F300F #1E5F1D #2D8E2B #3CBD39 #66D063

Accessibility & contrast

On white

4.19
#2D8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2D8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E2B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E2B#FFFFFF#000000##000000
##2D8E2B1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#168A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e2b;
/* rgb */ color: rgb(45, 142, 43);
/* oklch */ color: oklch(57.0% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#74b06a',
    500: '#2d8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e2b;
$custom-light: #74b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e2b",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 118.788,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.1628,
    "h": 142.8
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#2D8E2B
secondary
#B45FB6
accent
#4BDDDA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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