#2B8417#2B8417

#2B8417 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.164 H 140.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8417
RGBrgb(43, 132, 23)
HSLhsl(109, 70%, 30%)
HSVhsv(109, 83%, 52%)
CMYKcmyk(67.4%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.36, -46.16, 46.70)
CIE-LCHlch(48.36, 65.67, 134.67°)
OKLaboklab(53.97% -0.1264 0.1037)
OKLCHoklch(53.97% 0.164 140.6)
XYZxyz(9.4017, 17.0770, 3.6112)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8417 #701784
analogous
#618417 #2B8417 #178439
triadic
#2B8417 #172B84 #84172B
tetradic
#2B8417 #176184 #701784 #843917
square
#2B8417 #176184 #701784 #843917
split-complementary
#2B8417 #391784 #841761
monochromatic
#091C05 #1A500E #2B8417 #3CB820 #57DC39

Accessibility & contrast

On white

4.76
#2B8417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2B8417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8417
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8417#FFFFFF#000000##FFFFFF
##2B84171.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#1B8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8417;
/* rgb */ color: rgb(43, 132, 23);
/* oklch */ color: oklch(54.0% 0.164 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a95e',
    500: '#2b8417',
    950: '#000000',
  },
}
SCSS
$custom: #2b8417;
$custom-light: #72a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8417",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 108.991,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.16351,
    "h": 140.6
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#2B8417
secondary
#A23FB8
accent
#3BEDCC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8417

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

Preview Lab → · Contrast checker → · Palette generator →

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