#2B8017#2B8017

#2B8017 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.159 H 140.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2B8017
RGBrgb(43, 128, 23)
HSLhsl(109, 70%, 30%)
HSVhsv(109, 82%, 50%)
CMYKcmyk(66.4%, 0%, 82%, 49.8%)
CIE-LABlab(46.99, -44.72, 45.42)
CIE-LCHlch(46.99, 63.74, 134.56°)
OKLaboklab(52.83% -0.1225 0.101)
OKLCHoklch(52.83% 0.159 140.5)
XYZxyz(8.8697, 16.0129, 3.4338)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8017 #6C1780
analogous
#608017 #2B8017 #178037
triadic
#2B8017 #172B80 #80172B
tetradic
#2B8017 #176080 #6C1780 #803717
square
#2B8017 #176080 #6C1780 #803717
split-complementary
#2B8017 #371780 #801760
monochromatic
#091A05 #1A4C0E #2B8017 #3CB420 #56DB36

Accessibility & contrast

On white

5.00
#2B8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2B8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8017
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8017#FFFFFF#000000##FFFFFF
##2B80171.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#1D7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b8017;
/* rgb */ color: rgb(43, 128, 23);
/* oklch */ color: oklch(52.8% 0.159 140.5);
Tailwind
colors: {
  custom: {
    50: '#71a65e',
    500: '#2b8017',
    950: '#000000',
  },
}
SCSS
$custom: #2b8017;
$custom-light: #71a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8017",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 108.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52833,
    "c": 0.15881,
    "h": 140.5
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#2B8017
secondary
#9E3EB4
accent
#3BECCB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B8017

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

Preview Lab → · Contrast checker → · Palette generator →

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