#2B8F20#2B8F20

#2B8F20 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.172 H 141.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B8F20
RGBrgb(43, 143, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 78%, 56%)
CMYKcmyk(69.9%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.13, -49.43, 47.34)
CIE-LCHlch(52.13, 68.44, 136.23°)
OKLaboklab(57.11% -0.1348 0.1063)
OKLCHoklch(57.11% 0.172 141.7)
XYZxyz(11.0788, 20.2616, 4.6932)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F20 #84208F
analogous
#638F20 #2B8F20 #208F4D
triadic
#2B8F20 #202B8F #8F202B
tetradic
#2B8F20 #20638F #84208F #8F4D20
square
#2B8F20 #20638F #84208F #8F4D20
split-complementary
#2B8F20 #4D208F #8F2063
monochromatic
#0D2B0A #1C5D15 #2B8F20 #3AC12B #5FD851

Accessibility & contrast

On white

4.16
#2B8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2B8F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F20
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F20#FFFFFF#000000##000000
##2B8F201.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#138A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8f20;
/* rgb */ color: rgb(43, 143, 32);
/* oklch */ color: oklch(57.1% 0.172 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b164',
    500: '#2b8f20',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f20;
$custom-light: #74b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f20",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 114.054,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.17168,
    "h": 141.7
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#2B8F20
secondary
#B14FBB
accent
#41E6D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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