#2D9231#2D9231

#2D9231 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.163 H 143.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2D9231
RGBrgb(45, 146, 49)
HSLhsl(122, 53%, 37%)
HSVhsv(122, 69%, 57%)
CMYKcmyk(69.2%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.32, -48.54, 41.77)
CIE-LCHlch(53.32, 64.03, 139.29°)
OKLaboklab(58.15% -0.1316 0.0968)
OKLCHoklch(58.15% 0.163 143.7)
XYZxyz(11.9147, 21.3361, 6.3955)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9231 #922D8E
analogous
#5C922D #2D9231 #2D9263
triadic
#2D9231 #312D92 #92312D
tetradic
#2D9231 #2D5C92 #922D8E #92632D
square
#2D9231 #2D5C92 #922D8E #92632D
split-complementary
#2D9231 #632D92 #922D5C
monochromatic
#103412 #1F6321 #2D9231 #3BC141 #69D16D

Accessibility & contrast

On white

3.99
#2D9231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2D9231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9231
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9231#FFFFFF#000000##000000
##2D92311.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#118E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d9231;
/* rgb */ color: rgb(45, 146, 49);
/* oklch */ color: oklch(58.1% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#74b36e',
    500: '#2d9231',
    950: '#000000',
  },
}
SCSS
$custom: #2d9231;
$custom-light: #74b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9231",
  "rgb": {
    "r": 45,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 122.376,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.16336,
    "h": 143.7
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#2D9231
secondary
#B763B4
accent
#4CD7DC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D9231

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

Preview Lab → · Contrast checker → · Palette generator →

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