#2C8517#2C8517

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

Color values

HEX#2C8517
RGBrgb(44, 133, 23)
HSLhsl(109, 71%, 31%)
HSVhsv(109, 83%, 52%)
CMYKcmyk(66.9%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.72, -46.29, 47.06)
CIE-LCHlch(48.72, 66.01, 134.53°)
OKLaboklab(54.28% -0.1268 0.1044)
OKLCHoklch(54.28% 0.164 140.5)
XYZxyz(9.5804, 17.3714, 3.6586)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8517 #701785
analogous
#638517 #2C8517 #178539
triadic
#2C8517 #172C85 #85172C
tetradic
#2C8517 #176385 #701785 #853917
square
#2C8517 #176385 #701785 #853917
split-complementary
#2C8517 #391785 #851763
monochromatic
#091D05 #1B510E #2C8517 #3DB920 #59DD3A

Accessibility & contrast

On white

4.69
#2C8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2C8517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8517
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8517#FFFFFF#000000##FFFFFF
##2C85171.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#1D8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8517;
/* rgb */ color: rgb(44, 133, 23);
/* oklch */ color: oklch(54.3% 0.164 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a95f',
    500: '#2c8517',
    950: '#000000',
  },
}
SCSS
$custom: #2c8517;
$custom-light: #72a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8517",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 108.545,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.16429,
    "h": 140.5
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#2C8517
secondary
#A23FB9
accent
#3BEDCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8517

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

Preview Lab → · Contrast checker → · Palette generator →

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