#2B8B45#2B8B45

#2B8B45 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.138 H 148.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2B8B45
RGBrgb(43, 139, 69)
HSLhsl(136, 53%, 36%)
HSVhsv(136, 69%, 55%)
CMYKcmyk(69.1%, 0%, 50.4%, 45.5%)
CIE-LABlab(51.16, -43.61, 29.39)
CIE-LCHlch(51.16, 52.59, 146.02°)
OKLaboklab(56.43% -0.1175 0.0714)
OKLCHoklch(56.43% 0.138 148.7)
XYZxyz(11.3022, 19.4073, 8.7794)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B45 #8B2B71
analogous
#418B2B #2B8B45 #2B8B75
triadic
#2B8B45 #452B8B #8B452B
tetradic
#2B8B45 #2B418B #8B2B71 #8B752B
square
#2B8B45 #2B418B #8B2B71 #8B752B
split-complementary
#2B8B45 #752B8B #8B2B41
monochromatic
#0E2E17 #1D5C2E #2B8B45 #39BA5C #62CE7F

Accessibility & contrast

On white

4.30
#2B8B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2B8B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B45
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B45#FFFFFF#000000##000000
##2B8B451.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#80774A
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8b45;
/* rgb */ color: rgb(43, 139, 69);
/* oklch */ color: oklch(56.4% 0.138 148.7);
Tailwind
colors: {
  custom: {
    50: '#71ae7a',
    500: '#2b8b45',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b45;
$custom-light: #71ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b45",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 136.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.13755,
    "h": 148.7
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#2B8B45
secondary
#B55D9D
accent
#4CB5DC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2B8B45

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

Preview Lab → · Contrast checker → · Palette generator →

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