#2B9540#2B9540

#2B9540 is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.156 H 146.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2B9540
RGBrgb(43, 149, 64)
HSLhsl(132, 55%, 38%)
HSVhsv(132, 71%, 58%)
CMYKcmyk(71.1%, 0%, 57%, 41.6%)
CIE-LABlab(54.43, -48.15, 35.94)
CIE-LCHlch(54.43, 60.09, 143.26°)
OKLaboklab(59.1% -0.1298 0.0857)
OKLCHoklch(59.1% 0.156 146.6)
XYZxyz(12.6682, 22.3773, 8.5011)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9540 #952B80
analogous
#4B952B #2B9540 #2B9575
triadic
#2B9540 #402B95 #95402B
tetradic
#2B9540 #2B4B95 #952B80 #95752B
square
#2B9540 #2B4B95 #952B80 #95752B
split-complementary
#2B9540 #752B95 #952B4B
monochromatic
#103617 #1D662C #2B9540 #39C454 #67D37D

Accessibility & contrast

On white

3.84
#2B9540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2B9540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9540
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9540#FFFFFF#000000##000000
##2B95401.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978738
Deuteranopia (green-blind)
#8A7F47
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2b9540;
/* rgb */ color: rgb(43, 149, 64);
/* oklch */ color: oklch(59.1% 0.156 146.6);
Tailwind
colors: {
  custom: {
    50: '#74b577',
    500: '#2b9540',
    950: '#000000',
  },
}
SCSS
$custom: #2b9540;
$custom-light: #74b577;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9540",
  "rgb": {
    "r": 43,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 131.887,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.15556,
    "h": 146.6
  },
  "luminance": 0.22379
}

Semantic roles & 50–950 ramp

primary
#2B9540
secondary
#BA62A8
accent
#49C1DF
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9540

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

Preview Lab → · Contrast checker → · Palette generator →

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