#2B8642#2B8642

#2B8642 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.133 H 148.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2B8642
RGBrgb(43, 134, 66)
HSLhsl(135, 51%, 35%)
HSVhsv(135, 68%, 53%)
CMYKcmyk(67.9%, 0%, 50.7%, 47.5%)
CIE-LABlab(49.44, -42.14, 28.84)
CIE-LCHlch(49.44, 51.06, 145.61°)
OKLaboklab(55% -0.1136 0.07)
OKLCHoklch(55% 0.133 148.4)
XYZxyz(10.5040, 17.9560, 8.0655)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8642 #862B6F
analogous
#42862B #2B8642 #2B8670
triadic
#2B8642 #422B86 #86422B
tetradic
#2B8642 #2B4286 #862B6F #86702B
square
#2B8642 #2B4286 #862B6F #86702B
split-complementary
#2B8642 #702B86 #862B42
monochromatic
#0D2914 #1C582B #2B8642 #3AB459 #60CC7B

Accessibility & contrast

On white

4.57
#2B8642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2B8642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8642
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8642#FFFFFF#000000##000000
##2B86421.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#088376
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8642;
/* rgb */ color: rgb(43, 134, 66);
/* oklch */ color: oklch(55.0% 0.133 148.4);
Tailwind
colors: {
  custom: {
    50: '#70aa78',
    500: '#2b8642',
    950: '#000000',
  },
}
SCSS
$custom: #2b8642;
$custom-light: #70aa78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8642",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 135.165,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.13348,
    "h": 148.4
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#2B8642
secondary
#B25B9C
accent
#4DB7DB
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2B8642

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

Preview Lab → · Contrast checker → · Palette generator →

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