#2B8E20#2B8E20

#2B8E20 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.171 H 141.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B8E20
RGBrgb(43, 142, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 77%, 56%)
CMYKcmyk(69.7%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.80, -49.08, 47.01)
CIE-LCHlch(51.80, 67.96, 136.23°)
OKLaboklab(56.83% -0.1338 0.1057)
OKLCHoklch(56.83% 0.171 141.7)
XYZxyz(10.9294, 19.9627, 4.6434)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E20 #83208E
analogous
#628E20 #2B8E20 #208E4C
triadic
#2B8E20 #202B8E #8E202B
tetradic
#2B8E20 #20628E #83208E #8E4C20
square
#2B8E20 #20628E #83208E #8E4C20
split-complementary
#2B8E20 #4C208E #8E2062
monochromatic
#0D2A09 #1C5C15 #2B8E20 #3AC02B #5ED851

Accessibility & contrast

On white

4.21
#2B8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2B8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E20
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E20#FFFFFF#000000##000000
##2B8E201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#148979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e20;
/* rgb */ color: rgb(43, 142, 32);
/* oklch */ color: oklch(56.8% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b064',
    500: '#2b8e20',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e20;
$custom-light: #74b064;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e20",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 114,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56831,
    "c": 0.17051,
    "h": 141.7
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#2B8E20
secondary
#B04FBB
accent
#42E6D6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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