#2B8145#2B8145

#2B8145 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.7% C 0.123 H 150.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2B8145
RGBrgb(43, 129, 69)
HSLhsl(138, 50%, 34%)
HSVhsv(138, 67%, 51%)
CMYKcmyk(66.7%, 0%, 46.5%, 49.4%)
CIE-LABlab(47.81, -39.62, 25.15)
CIE-LCHlch(47.81, 46.93, 147.60°)
OKLaboklab(53.66% -0.1069 0.0618)
OKLCHoklch(53.66% 0.123 150)
XYZxyz(9.9199, 16.6428, 8.3187)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8145 #812B67
analogous
#3C812B #2B8145 #2B8170
triadic
#2B8145 #452B81 #81452B
tetradic
#2B8145 #2B3C81 #812B67 #81702B
square
#2B8145 #2B3C81 #812B67 #81702B
split-complementary
#2B8145 #702B81 #812B3C
monochromatic
#0C2514 #1C532C #2B8145 #3AAF5E #5DC97E

Accessibility & contrast

On white

4.85
#2B8145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2B8145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8145
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8145#FFFFFF#000000##FFFFFF
##2B81451.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827640
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#097F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8145;
/* rgb */ color: rgb(43, 129, 69);
/* oklch */ color: oklch(53.7% 0.123 150.0);
Tailwind
colors: {
  custom: {
    50: '#6fa679',
    500: '#2b8145',
    950: '#000000',
  },
}
SCSS
$custom: #2b8145;
$custom-light: #6fa679;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8145",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 138.14,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.12345,
    "h": 150
  },
  "luminance": 0.16644
}

Semantic roles & 50–950 ramp

primary
#2B8145
secondary
#AF5995
accent
#4EAFDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B8145

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

Preview Lab → · Contrast checker → · Palette generator →

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