#2D8231#2D8231

#2D8231 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.143 H 144.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8231
RGBrgb(45, 130, 49)
HSLhsl(123, 49%, 34%)
HSVhsv(123, 65%, 51%)
CMYKcmyk(65.4%, 0%, 62.3%, 49%)
CIE-LABlab(47.94, -42.58, 35.72)
CIE-LCHlch(47.94, 55.58, 140.01°)
OKLaboklab(53.7% -0.1155 0.0839)
OKLCHoklch(53.7% 0.143 144)
XYZxyz(9.6186, 16.7440, 5.6301)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8231 #822D7E
analogous
#54822D #2D8231 #2D825C
triadic
#2D8231 #312D82 #82312D
tetradic
#2D8231 #2D5482 #822D7E #825C2D
square
#2D8231 #2D5482 #822D7E #825C2D
split-complementary
#2D8231 #5C2D82 #822D54
monochromatic
#0E270F #1D5520 #2D8231 #3DAF42 #61C866

Accessibility & contrast

On white

4.83
#2D8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2D8231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8231
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8231#FFFFFF#000000##FFFFFF
##2D82311.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#1A7E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8231;
/* rgb */ color: rgb(45, 130, 49);
/* oklch */ color: oklch(53.7% 0.143 144.0);
Tailwind
colors: {
  custom: {
    50: '#71a76c',
    500: '#2d8231',
    950: '#000000',
  },
}
SCSS
$custom: #2d8231;
$custom-light: #71a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8231",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 122.824,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.14274,
    "h": 144
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#2D8231
secondary
#AF5CAB
accent
#50D2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D8231

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

Preview Lab → · Contrast checker → · Palette generator →

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