#2C8A38#2C8A38

#2C8A38 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.148 H 145.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2C8A38
RGBrgb(44, 138, 56)
HSLhsl(128, 52%, 36%)
HSVhsv(128, 68%, 54%)
CMYKcmyk(68.1%, 0%, 59.4%, 45.9%)
CIE-LABlab(50.68, -44.95, 35.48)
CIE-LCHlch(50.68, 57.27, 141.72°)
OKLaboklab(55.99% -0.1215 0.084)
OKLCHoklch(55.99% 0.148 145.3)
XYZxyz(10.8403, 18.9968, 6.8361)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A38 #8A2C7E
analogous
#4F8A2C #2C8A38 #2C8A67
triadic
#2C8A38 #382C8A #8A382C
tetradic
#2C8A38 #2C4F8A #8A2C7E #8A672C
square
#2C8A38 #2C4F8A #8A2C7E #8A672C
split-complementary
#2C8A38 #672C8A #8A2C4F
monochromatic
#0E2D12 #1D5C25 #2C8A38 #3BB84B #63CD71

Accessibility & contrast

On white

4.38
#2C8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2C8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A38
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A38#FFFFFF#000000##000000
##2C8A381.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D30
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#108778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8a38;
/* rgb */ color: rgb(44, 138, 56);
/* oklch */ color: oklch(56.0% 0.148 145.3);
Tailwind
colors: {
  custom: {
    50: '#72ad71',
    500: '#2c8a38',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a38;
$custom-light: #72ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a38",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 127.66,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.14774,
    "h": 145.3
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#2C8A38
secondary
#B45EA9
accent
#4DC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2C8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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