#2C8015#2C8015

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

Color values

HEX#2C8015
RGBrgb(44, 128, 21)
HSLhsl(107, 72%, 29%)
HSVhsv(107, 84%, 50%)
CMYKcmyk(65.6%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.01, -44.61, 46.07)
CIE-LCHlch(47.01, 64.12, 134.08°)
OKLaboklab(52.85% -0.1224 0.1021)
OKLCHoklch(52.85% 0.159 140.2)
XYZxyz(8.8928, 16.0271, 3.3342)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8015 #691580
analogous
#628015 #2C8015 #158034
triadic
#2C8015 #152C80 #80152C
tetradic
#2C8015 #156280 #691580 #803415
square
#2C8015 #156280 #691580 #803415
split-complementary
#2C8015 #341580 #801562
monochromatic
#091A04 #1A4B0C #2C8015 #3EB51E #57DD32

Accessibility & contrast

On white

4.99
#2C8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2C8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8015
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8015#FFFFFF#000000##FFFFFF
##2C80151.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#1F7C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c8015;
/* rgb */ color: rgb(44, 128, 21);
/* oklch */ color: oklch(52.9% 0.159 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a65d',
    500: '#2c8015',
    950: '#000000',
  },
}
SCSS
$custom: #2c8015;
$custom-light: #71a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8015",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 107.103,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.15937,
    "h": 140.2
  },
  "luminance": 0.16028
}

Semantic roles & 50–950 ramp

primary
#2C8015
secondary
#9B3CB5
accent
#39EFC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C8015

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

Preview Lab → · Contrast checker → · Palette generator →

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