#2B8D20#2B8D20

#2B8D20 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.169 H 141.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B8D20
RGBrgb(43, 141, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(69.5%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.46, -48.73, 46.68)
CIE-LCHlch(51.46, 67.48, 136.23°)
OKLaboklab(56.55% -0.1329 0.105)
OKLCHoklch(56.55% 0.169 141.7)
XYZxyz(10.7813, 19.6665, 4.5941)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D20 #82208D
analogous
#628D20 #2B8D20 #208D4C
triadic
#2B8D20 #202B8D #8D202B
tetradic
#2B8D20 #20628D #82208D #8D4C20
square
#2B8D20 #20628D #82208D #8D4C20
split-complementary
#2B8D20 #4C208D #8D2062
monochromatic
#0D2909 #1C5B15 #2B8D20 #3ABF2B #5ED750

Accessibility & contrast

On white

4.26
#2B8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2B8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D20
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D20#FFFFFF#000000##000000
##2B8D201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F08
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#158878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d20;
/* rgb */ color: rgb(43, 141, 32);
/* oklch */ color: oklch(56.6% 0.169 141.7);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#2b8d20',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d20;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d20",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 113.945,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56552,
    "c": 0.16933,
    "h": 141.7
  },
  "luminance": 0.19668
}

Semantic roles & 50–950 ramp

primary
#2B8D20
secondary
#B04EBA
accent
#42E6D5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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