#2C8518#2C8518

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

Color values

HEX#2C8518
RGBrgb(44, 133, 24)
HSLhsl(109, 69%, 31%)
HSVhsv(109, 82%, 52%)
CMYKcmyk(66.9%, 0%, 82%, 47.8%)
CIE-LABlab(48.73, -46.23, 46.75)
CIE-LCHlch(48.73, 65.75, 134.68°)
OKLaboklab(54.28% -0.1266 0.1039)
OKLCHoklch(54.28% 0.164 140.6)
XYZxyz(9.5906, 17.3755, 3.7124)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8518 #711885
analogous
#628518 #2C8518 #18853A
triadic
#2C8518 #182C85 #85182C
tetradic
#2C8518 #186285 #711885 #853A18
square
#2C8518 #186285 #711885 #853A18
split-complementary
#2C8518 #3A1885 #851862
monochromatic
#0A1D05 #1B510F #2C8518 #3DB921 #59DC3C

Accessibility & contrast

On white

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

On black

4.48
#2C8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C8518#FFFFFF#000000##FFFFFF
##2C85181.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c8518;
/* rgb */ color: rgb(44, 133, 24);
/* oklch */ color: oklch(54.3% 0.164 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a95f',
    500: '#2c8518',
    950: '#000000',
  },
}
SCSS
$custom: #2c8518;
$custom-light: #72a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8518",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 108.991,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.16381,
    "h": 140.6
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#2C8518
secondary
#A340B9
accent
#3CECCC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8518

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

Preview Lab → · Contrast checker → · Palette generator →

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