#2B8A52#2B8A52

#2B8A52 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.123 H 153.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B8A52
RGBrgb(43, 138, 82)
HSLhsl(145, 52%, 35%)
HSVhsv(145, 69%, 54%)
CMYKcmyk(68.8%, 0%, 40.6%, 45.9%)
CIE-LABlab(51.03, -40.88, 22.16)
CIE-LCHlch(51.03, 46.50, 151.54°)
OKLaboklab(56.39% -0.1104 0.0552)
OKLCHoklch(56.39% 0.123 153.4)
XYZxyz(11.6067, 19.2985, 11.0943)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A52 #8A2B63
analogous
#338A2B #2B8A52 #2B8A81
triadic
#2B8A52 #522B8A #8A522B
tetradic
#2B8A52 #2B338A #8A2B63 #8A812B
square
#2B8A52 #2B338A #8A2B63 #8A812B
split-complementary
#2B8A52 #812B8A #8A2B33
monochromatic
#0E2D1B #1C5B36 #2B8A52 #3AB96E #61CE8E

Accessibility & contrast

On white

4.32
#2B8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2B8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A52
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A52#FFFFFF#000000##000000
##2B8A521.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#00887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8a52;
/* rgb */ color: rgb(43, 138, 82);
/* oklch */ color: oklch(56.4% 0.123 153.4);
Tailwind
colors: {
  custom: {
    50: '#71ad83',
    500: '#2b8a52',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a52;
$custom-light: #71ad83;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a52",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 144.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.12344,
    "h": 153.4
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#2B8A52
secondary
#B45D90
accent
#4CA1DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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