#2B8450#2B8450

#2B8450 is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.7% C 0.117 H 153.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2B8450
RGBrgb(43, 132, 80)
HSLhsl(145, 51%, 34%)
HSVhsv(145, 67%, 52%)
CMYKcmyk(67.4%, 0%, 39.4%, 48.2%)
CIE-LABlab(49.00, -38.79, 20.59)
CIE-LCHlch(49.00, 43.91, 152.04°)
OKLaboklab(54.7% -0.1049 0.0514)
OKLCHoklch(54.7% 0.117 153.9)
XYZxyz(10.6946, 17.5942, 10.4203)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8450 #842B5F
analogous
#33842B #2B8450 #2B847D
triadic
#2B8450 #502B84 #84502B
tetradic
#2B8450 #2B3384 #842B5F #847D2B
square
#2B8450 #2B3384 #842B5F #847D2B
split-complementary
#2B8450 #7D2B84 #842B33
monochromatic
#0D2818 #1C5634 #2B8450 #3AB26C #5FCB8C

Accessibility & contrast

On white

4.65
#2B8450 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2B8450 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8450
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8450#FFFFFF#000000##FFFFFF
##2B84501.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794C
Deuteranopia (green-blind)
#787153
Tritanopia (blue-blind)
#008277
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8450;
/* rgb */ color: rgb(43, 132, 80);
/* oklch */ color: oklch(54.7% 0.117 153.9);
Tailwind
colors: {
  custom: {
    50: '#6fa881',
    500: '#2b8450',
    950: '#000000',
  },
}
SCSS
$custom: #2b8450;
$custom-light: #6fa881;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8450",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 144.944,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.11681,
    "h": 153.9
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#2B8450
secondary
#B15A8D
accent
#4DA0DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B8450

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

Preview Lab → · Contrast checker → · Palette generator →

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