#2C8312#2C8312

#2C8312 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.164 H 140.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C8312
RGBrgb(44, 131, 18)
HSLhsl(106, 76%, 29%)
HSVhsv(106, 86%, 51%)
CMYKcmyk(66.4%, 0%, 86.3%, 48.6%)
CIE-LABlab(48.02, -45.85, 47.84)
CIE-LCHlch(48.02, 66.27, 133.78°)
OKLaboklab(53.69% -0.1259 0.1053)
OKLCHoklch(53.69% 0.164 140.1)
XYZxyz(9.2637, 16.8108, 3.3288)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8312 #691283
analogous
#658312 #2C8312 #128331
triadic
#2C8312 #122C83 #83122C
tetradic
#2C8312 #126583 #691283 #833112
square
#2C8312 #126583 #691283 #833112
split-complementary
#2C8312 #311283 #831265
monochromatic
#091B04 #1A4D0B #2C8312 #3EB919 #57E22D

Accessibility & contrast

On white

4.81
#2C8312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2C8312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8312
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8312#FFFFFF#000000##FFFFFF
##2C83121.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#1E7E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8312;
/* rgb */ color: rgb(44, 131, 18);
/* oklch */ color: oklch(53.7% 0.164 140.1);
Tailwind
colors: {
  custom: {
    50: '#72a85c',
    500: '#2c8312',
    950: '#000000',
  },
}
SCSS
$custom: #2c8312;
$custom-light: #72a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8312",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 106.195,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.16414,
    "h": 140.1
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#2C8312
secondary
#9B38B8
accent
#35F2C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8312

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

Preview Lab → · Contrast checker → · Palette generator →

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