#2D8431#2D8431

#2D8431 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.145 H 143.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2D8431
RGBrgb(45, 132, 49)
HSLhsl(123, 49%, 35%)
HSVhsv(123, 66%, 52%)
CMYKcmyk(65.9%, 0%, 62.9%, 48.2%)
CIE-LABlab(48.61, -43.35, 36.50)
CIE-LCHlch(48.61, 56.67, 139.91°)
OKLaboklab(54.26% -0.1175 0.0856)
OKLCHoklch(54.26% 0.145 143.9)
XYZxyz(9.8872, 17.2812, 5.7197)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8431 #842D80
analogous
#54842D #2D8431 #2D845D
triadic
#2D8431 #312D84 #84312D
tetradic
#2D8431 #2D5484 #842D80 #845D2D
square
#2D8431 #2D5484 #842D80 #845D2D
split-complementary
#2D8431 #5D2D84 #842D54
monochromatic
#0E290F #1D5620 #2D8431 #3DB242 #62C967

Accessibility & contrast

On white

4.71
#2D8431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2D8431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8431
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8431#FFFFFF#000000##FFFFFF
##2D84311.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#198072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8431;
/* rgb */ color: rgb(45, 132, 49);
/* oklch */ color: oklch(54.3% 0.145 143.9);
Tailwind
colors: {
  custom: {
    50: '#71a96c',
    500: '#2d8431',
    950: '#000000',
  },
}
SCSS
$custom: #2d8431;
$custom-light: #71a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8431",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 122.759,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.1454,
    "h": 143.9
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#2D8431
secondary
#B05DAC
accent
#4FD2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8431

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

Preview Lab → · Contrast checker → · Palette generator →

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