#2B8540#2B8540

#2B8540 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.134 H 147.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B8540
RGBrgb(43, 133, 64)
HSLhsl(134, 51%, 35%)
HSVhsv(134, 68%, 52%)
CMYKcmyk(67.7%, 0%, 51.9%, 47.8%)
CIE-LABlab(49.08, -42.06, 29.45)
CIE-LCHlch(49.08, 51.35, 145.01°)
OKLaboklab(54.68% -0.1135 0.0713)
OKLCHoklch(54.68% 0.134 147.9)
XYZxyz(10.3085, 17.6577, 7.7145)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8540 #852B70
analogous
#43852B #2B8540 #2B856D
triadic
#2B8540 #402B85 #85402B
tetradic
#2B8540 #2B4385 #852B70 #856D2B
square
#2B8540 #2B4385 #852B70 #856D2B
split-complementary
#2B8540 #6D2B85 #852B43
monochromatic
#0D2913 #1C572A #2B8540 #3AB356 #5FCB78

Accessibility & contrast

On white

4.63
#2B8540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B8540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8540
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8540#FFFFFF#000000##FFFFFF
##2B85401.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7245
Tritanopia (blue-blind)
#0A8275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8540;
/* rgb */ color: rgb(43, 133, 64);
/* oklch */ color: oklch(54.7% 0.134 147.9);
Tailwind
colors: {
  custom: {
    50: '#70a976',
    500: '#2b8540',
    950: '#000000',
  },
}
SCSS
$custom: #2b8540;
$custom-light: #70a976;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8540",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 134,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.134,
    "h": 147.9
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#2B8540
secondary
#B15B9D
accent
#4DBADB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B8540

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

Preview Lab → · Contrast checker → · Palette generator →

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