#2B9842#2B9842

#2B9842 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.158 H 146.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2B9842
RGBrgb(43, 152, 66)
HSLhsl(133, 56%, 38%)
HSVhsv(133, 72%, 60%)
CMYKcmyk(71.7%, 0%, 56.6%, 40.4%)
CIE-LABlab(55.44, -48.97, 36.16)
CIE-LCHlch(55.44, 60.88, 143.55°)
OKLaboklab(59.95% -0.132 0.0863)
OKLCHoklch(59.95% 0.158 146.8)
XYZxyz(13.2069, 23.3620, 8.9665)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9842 #982B81
analogous
#4A982B #2B9842 #2B9878
triadic
#2B9842 #422B98 #98422B
tetradic
#2B9842 #2B4A98 #982B81 #98782B
square
#2B9842 #2B4A98 #982B81 #98782B
split-complementary
#2B9842 #782B98 #982B4A
monochromatic
#103919 #1E682D #2B9842 #39C757 #69D580

Accessibility & contrast

On white

3.70
#2B9842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2B9842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9842
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9842#FFFFFF#000000##000000
##2B98421.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3A
Deuteranopia (green-blind)
#8D8149
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2b9842;
/* rgb */ color: rgb(43, 152, 66);
/* oklch */ color: oklch(60.0% 0.158 146.8);
Tailwind
colors: {
  custom: {
    50: '#74b779',
    500: '#2b9842',
    950: '#000000',
  },
}
SCSS
$custom: #2b9842;
$custom-light: #74b779;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9842",
  "rgb": {
    "r": 43,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 132.661,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.15771,
    "h": 146.8
  },
  "luminance": 0.23363
}

Semantic roles & 50–950 ramp

primary
#2B9842
secondary
#BB64A9
accent
#49BFDF
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9842

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

Preview Lab → · Contrast checker → · Palette generator →

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