#2B8C20#2B8C20

#2B8C20 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.168 H 141.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2B8C20
RGBrgb(43, 140, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(69.3%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.12, -48.38, 46.35)
CIE-LCHlch(51.12, 67.00, 136.23°)
OKLaboklab(56.27% -0.132 0.1043)
OKLCHoklch(56.27% 0.168 141.7)
XYZxyz(10.6345, 19.3729, 4.5451)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8C20 #81208C
analogous
#618C20 #2B8C20 #208C4B
triadic
#2B8C20 #202B8C #8C202B
tetradic
#2B8C20 #20618C #81208C #8C4B20
square
#2B8C20 #20618C #81208C #8C4B20
split-complementary
#2B8C20 #4B208C #8C2061
monochromatic
#0C2809 #1C5A15 #2B8C20 #3ABE2B #5DD750

Accessibility & contrast

On white

4.31
#2B8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2B8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8C20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8C20#FFFFFF#000000##000000
##2B8C201.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#158877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8c20;
/* rgb */ color: rgb(43, 140, 32);
/* oklch */ color: oklch(56.3% 0.168 141.7);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#2b8c20',
    950: '#000000',
  },
}
SCSS
$custom: #2b8c20;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8c20",
  "rgb": {
    "r": 43,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 113.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.16817,
    "h": 141.7
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#2B8C20
secondary
#AF4EBA
accent
#42E6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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