#2B8015#2B8015

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

Color values

HEX#2B8015
RGBrgb(43, 128, 21)
HSLhsl(108, 72%, 29%)
HSVhsv(108, 84%, 50%)
CMYKcmyk(66.4%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.98, -44.84, 46.03)
CIE-LCHlch(46.98, 64.26, 134.25°)
OKLaboklab(52.82% -0.123 0.102)
OKLCHoklch(52.82% 0.16 140.3)
XYZxyz(8.8504, 16.0052, 3.3322)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8015 #6A1580
analogous
#618015 #2B8015 #158035
triadic
#2B8015 #152B80 #80152B
tetradic
#2B8015 #156180 #6A1580 #803515
square
#2B8015 #156180 #6A1580 #803515
split-complementary
#2B8015 #351580 #801561
monochromatic
#091A04 #194B0C #2B8015 #3DB51E #55DD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8015#FFFFFF#000000##FFFFFF
##2B80151.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)
#7A6D22
Tritanopia (blue-blind)
#1D7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b8015;
/* rgb */ color: rgb(43, 128, 21);
/* oklch */ color: oklch(52.8% 0.160 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a65d',
    500: '#2b8015',
    950: '#000000',
  },
}
SCSS
$custom: #2b8015;
$custom-light: #71a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8015",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 107.664,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.15977,
    "h": 140.3
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#2B8015
secondary
#9C3CB5
accent
#39EFC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B8015

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

Preview Lab → · Contrast checker → · Palette generator →

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