#2C951F#2C951F

#2C951F is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.179 H 141.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2C951F
RGBrgb(44, 149, 31)
HSLhsl(113, 66%, 35%)
HSVhsv(113, 79%, 58%)
CMYKcmyk(70.5%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.16, -51.36, 49.67)
CIE-LCHlch(54.16, 71.45, 135.96°)
OKLaboklab(58.8% -0.1401 0.111)
OKLCHoklch(58.8% 0.179 141.6)
XYZxyz(12.0328, 22.1280, 4.9331)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C951F #881F95
analogous
#67951F #2C951F #1F954D
triadic
#2C951F #1F2C95 #951F2C
tetradic
#2C951F #1F6795 #881F95 #954D1F
square
#2C951F #1F6795 #881F95 #954D1F
split-complementary
#2C951F #4D1F95 #951F67
monochromatic
#0E300A #1D6214 #2C951F #3BC82A #62DB53

Accessibility & contrast

On white

3.87
#2C951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2C951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C951F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C951F#FFFFFF#000000##000000
##2C951F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#12907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2c951f;
/* rgb */ color: rgb(44, 149, 31);
/* oklch */ color: oklch(58.8% 0.179 141.6);
Tailwind
colors: {
  custom: {
    50: '#76b564',
    500: '#2c951f',
    950: '#000000',
  },
}
SCSS
$custom: #2c951f;
$custom-light: #76b564;
$custom-dark: #000000;
JSON
{
  "hex": "#2c951f",
  "rgb": {
    "r": 44,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 113.39,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.588,
    "c": 0.17878,
    "h": 141.6
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#2C951F
secondary
#B351BF
accent
#3FE9D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2C951F

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

Preview Lab → · Contrast checker → · Palette generator →

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