#2B9747#2B9747

#2B9747 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.152 H 148.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2B9747
RGBrgb(43, 151, 71)
HSLhsl(136, 56%, 38%)
HSVhsv(136, 72%, 59%)
CMYKcmyk(71.5%, 0%, 53%, 40.8%)
CIE-LABlab(55.18, -47.87, 33.32)
CIE-LCHlch(55.18, 58.32, 145.16°)
OKLaboklab(59.75% -0.1289 0.0803)
OKLCHoklch(59.75% 0.152 148.1)
XYZxyz(13.1992, 23.1003, 9.7232)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9747 #972B7B
analogous
#45972B #2B9747 #2B977D
triadic
#2B9747 #472B97 #97472B
tetradic
#2B9747 #2B4597 #972B7B #977D2B
square
#2B9747 #2B4597 #972B7B #977D2B
split-complementary
#2B9747 #7D2B97 #972B45
monochromatic
#10381A #1D6731 #2B9747 #39C75D #68D484

Accessibility & contrast

On white

3.74
#2B9747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2B9747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9747
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9747#FFFFFF#000000##000000
##2B97471.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A40
Deuteranopia (green-blind)
#8C814D
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2b9747;
/* rgb */ color: rgb(43, 151, 71);
/* oklch */ color: oklch(59.8% 0.152 148.1);
Tailwind
colors: {
  custom: {
    50: '#74b77c',
    500: '#2b9747',
    950: '#000000',
  },
}
SCSS
$custom: #2b9747;
$custom-light: #74b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9747",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 71
  },
  "hsl": {
    "h": 135.556,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.1519,
    "h": 148.1
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#2B9747
secondary
#BB63A4
accent
#49B8DF
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9747

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

Preview Lab → · Contrast checker → · Palette generator →

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