#2B8415#2B8415

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

Color values

HEX#2B8415
RGBrgb(43, 132, 21)
HSLhsl(108, 73%, 30%)
HSVhsv(108, 84%, 52%)
CMYKcmyk(67.4%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.35, -46.28, 47.29)
CIE-LCHlch(48.35, 66.17, 134.38°)
OKLaboklab(53.95% -0.1268 0.1046)
OKLCHoklch(53.95% 0.164 140.5)
XYZxyz(9.3824, 17.0693, 3.5096)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8415 #6E1584
analogous
#638415 #2B8415 #158436
triadic
#2B8415 #152B84 #84152B
tetradic
#2B8415 #156384 #6E1584 #843615
square
#2B8415 #156384 #6E1584 #843615
split-complementary
#2B8415 #361584 #841563
monochromatic
#091A04 #1A4F0D #2B8415 #3CB91D #56DF35

Accessibility & contrast

On white

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

On black

4.41
#2B8415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B8415#FFFFFF#000000##FFFFFF
##2B84151.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b8415;
/* rgb */ color: rgb(43, 132, 21);
/* oklch */ color: oklch(54.0% 0.164 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a95e',
    500: '#2b8415',
    950: '#000000',
  },
}
SCSS
$custom: #2b8415;
$custom-light: #72a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8415",
  "rgb": {
    "r": 43,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 108.108,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.16443,
    "h": 140.5
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#2B8415
secondary
#A03CB9
accent
#39EFCB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8415

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

Preview Lab → · Contrast checker → · Palette generator →

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