#2B8E40#2B8E40

#2B8E40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.146 H 147.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B8E40
RGBrgb(43, 142, 64)
HSLhsl(133, 54%, 36%)
HSVhsv(133, 70%, 56%)
CMYKcmyk(69.7%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.09, -45.54, 33.14)
CIE-LCHlch(52.09, 56.32, 143.96°)
OKLaboklab(57.18% -0.1228 0.0795)
OKLCHoklch(57.18% 0.146 147.1)
XYZxyz(11.5938, 20.2285, 8.1430)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E40 #8E2B79
analogous
#488E2B #2B8E40 #2B8E72
triadic
#2B8E40 #402B8E #8E402B
tetradic
#2B8E40 #2B488E #8E2B79 #8E722B
square
#2B8E40 #2B488E #8E2B79 #8E722B
split-complementary
#2B8E40 #722B8E #8E2B48
monochromatic
#0F3016 #1D5F2B #2B8E40 #39BD55 #63D07A

Accessibility & contrast

On white

4.16
#2B8E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2B8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E40
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E40#FFFFFF#000000##000000
##2B8E401.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#018B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8e40;
/* rgb */ color: rgb(43, 142, 64);
/* oklch */ color: oklch(57.2% 0.146 147.1);
Tailwind
colors: {
  custom: {
    50: '#72b077',
    500: '#2b8e40',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e40;
$custom-light: #72b077;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e40",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 132.727,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.1463,
    "h": 147.1
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#2B8E40
secondary
#B65FA4
accent
#4BBEDD
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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