#2B8720#2B8720

#2B8720 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.162 H 141.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2B8720
RGBrgb(43, 135, 32)
HSLhsl(114, 62%, 33%)
HSVhsv(114, 76%, 53%)
CMYKcmyk(68.1%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.43, -46.61, 44.66)
CIE-LCHlch(49.43, 64.55, 136.22°)
OKLaboklab(54.87% -0.1272 0.1008)
OKLCHoklch(54.87% 0.162 141.6)
XYZxyz(9.9204, 17.9448, 4.3071)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8720 #7C2087
analogous
#5F8720 #2B8720 #208748
triadic
#2B8720 #202B87 #87202B
tetradic
#2B8720 #205F87 #7C2087 #874820
square
#2B8720 #205F87 #7C2087 #874820
split-complementary
#2B8720 #482087 #87205F
monochromatic
#0B2409 #1B5614 #2B8720 #3BB82C #5BD54D

Accessibility & contrast

On white

4.58
#2B8720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8720#FFFFFF#000000##000000
##2B87201.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#188373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8720;
/* rgb */ color: rgb(43, 135, 32);
/* oklch */ color: oklch(54.9% 0.162 141.6);
Tailwind
colors: {
  custom: {
    50: '#72ab63',
    500: '#2b8720',
    950: '#000000',
  },
}
SCSS
$custom: #2b8720;
$custom-light: #72ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8720",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 113.592,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.16223,
    "h": 141.6
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#2B8720
secondary
#AC4BB8
accent
#43E5D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8720

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

Preview Lab → · Contrast checker → · Palette generator →

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