#2B8117#2B8117

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

Color values

HEX#2B8117
RGBrgb(43, 129, 23)
HSLhsl(109, 70%, 30%)
HSVhsv(109, 82%, 51%)
CMYKcmyk(66.7%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.33, -45.09, 45.74)
CIE-LCHlch(47.33, 64.23, 134.59°)
OKLaboklab(53.12% -0.1235 0.1017)
OKLCHoklch(53.12% 0.16 140.5)
XYZxyz(9.0007, 16.2751, 3.4775)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8117 #6D1781
analogous
#608117 #2B8117 #178138
triadic
#2B8117 #172B81 #81172B
tetradic
#2B8117 #176081 #6D1781 #813817
square
#2B8117 #176081 #6D1781 #813817
split-complementary
#2B8117 #381781 #811760
monochromatic
#091A05 #1A4D0E #2B8117 #3CB520 #56DB37

Accessibility & contrast

On white

4.94
#2B8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2B8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8117
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8117#FFFFFF#000000##FFFFFF
##2B81171.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#1D7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b8117;
/* rgb */ color: rgb(43, 129, 23);
/* oklch */ color: oklch(53.1% 0.160 140.5);
Tailwind
colors: {
  custom: {
    50: '#71a65e',
    500: '#2b8117',
    950: '#000000',
  },
}
SCSS
$custom: #2b8117;
$custom-light: #71a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8117",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 108.679,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.16,
    "h": 140.5
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#2B8117
secondary
#9F3EB5
accent
#3BEDCB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B8117

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

Preview Lab → · Contrast checker → · Palette generator →

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