#2C8C1F#2C8C1F

#2C8C1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.168 H 141.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8C1F
RGBrgb(44, 140, 31)
HSLhsl(113, 64%, 34%)
HSVhsv(113, 78%, 55%)
CMYKcmyk(68.6%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.14, -48.24, 46.73)
CIE-LCHlch(51.14, 67.17, 135.91°)
OKLaboklab(56.29% -0.1317 0.1049)
OKLCHoklch(56.29% 0.168 141.5)
XYZxyz(10.6635, 19.3895, 4.4766)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C1F #7F1F8C
analogous
#628C1F #2C8C1F #1F8C48
triadic
#2C8C1F #1F2C8C #8C1F2C
tetradic
#2C8C1F #1F628C #7F1F8C #8C481F
square
#2C8C1F #1F628C #7F1F8C #8C481F
split-complementary
#2C8C1F #481F8C #8C1F62
monochromatic
#0D2809 #1C5A14 #2C8C1F #3CBE2A #5ED84E

Accessibility & contrast

On white

4.30
#2C8C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C8C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C1F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C1F#FFFFFF#000000##000000
##2C8C1F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#188777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c1f;
/* rgb */ color: rgb(44, 140, 31);
/* oklch */ color: oklch(56.3% 0.168 141.5);
Tailwind
colors: {
  custom: {
    50: '#74af63',
    500: '#2c8c1f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c1f;
$custom-light: #74af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c1f",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 112.844,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.16837,
    "h": 141.5
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#2C8C1F
secondary
#AD4CBB
accent
#41E7D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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