#2B8E17#2B8E17

#2B8E17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.175 H 140.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2B8E17
RGBrgb(43, 142, 23)
HSLhsl(110, 72%, 32%)
HSVhsv(110, 84%, 56%)
CMYKcmyk(69.7%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.75, -49.66, 49.85)
CIE-LCHlch(51.75, 70.37, 134.89°)
OKLaboklab(56.78% -0.1358 0.1103)
OKLCHoklch(56.78% 0.175 140.9)
XYZxyz(10.8234, 19.9203, 4.0851)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E17 #7A178E
analogous
#678E17 #2B8E17 #178E3F
triadic
#2B8E17 #172B8E #8E172B
tetradic
#2B8E17 #17678E #7A178E #8E3F17
square
#2B8E17 #17678E #7A178E #8E3F17
split-complementary
#2B8E17 #3F178E #8E1767
monochromatic
#0B2506 #1B590E #2B8E17 #3BC320 #5AE03F

Accessibility & contrast

On white

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

On black

4.98
#2B8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E17#FFFFFF#000000##000000
##2B8E171.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e17;
/* rgb */ color: rgb(43, 142, 23);
/* oklch */ color: oklch(56.8% 0.175 140.9);
Tailwind
colors: {
  custom: {
    50: '#74b060',
    500: '#2b8e17',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e17;
$custom-light: #74b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e17",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 109.916,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.17498,
    "h": 140.9
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

primary
#2B8E17
secondary
#AB40C0
accent
#39EFD0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2B8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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