#2C8438#2C8438

#2C8438 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.140 H 145.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2C8438
RGBrgb(44, 132, 56)
HSLhsl(128, 50%, 35%)
HSVhsv(128, 67%, 52%)
CMYKcmyk(66.7%, 0%, 57.6%, 48.2%)
CIE-LABlab(48.66, -42.66, 33.10)
CIE-LCHlch(48.66, 53.99, 142.19°)
OKLaboklab(54.32% -0.1153 0.0788)
OKLCHoklch(54.32% 0.14 145.6)
XYZxyz(10.0031, 17.3225, 6.5570)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8438 #842C78
analogous
#4C842C #2C8438 #2C8464
triadic
#2C8438 #382C84 #84382C
tetradic
#2C8438 #2C4C84 #842C78 #84642C
square
#2C8438 #2C4C84 #842C78 #84642C
split-complementary
#2C8438 #642C84 #842C4C
monochromatic
#0D2811 #1D5625 #2C8438 #3BB24B #60CA6F

Accessibility & contrast

On white

4.70
#2C8438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2C8438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8438
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8438#FFFFFF#000000##FFFFFF
##2C84381.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7B713E
Tritanopia (blue-blind)
#148173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8438;
/* rgb */ color: rgb(44, 132, 56);
/* oklch */ color: oklch(54.3% 0.140 145.6);
Tailwind
colors: {
  custom: {
    50: '#71a971',
    500: '#2c8438',
    950: '#000000',
  },
}
SCSS
$custom: #2c8438;
$custom-light: #71a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8438",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 128.182,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.13969,
    "h": 145.6
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#2C8438
secondary
#B05CA5
accent
#4EC7DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8438

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

Preview Lab → · Contrast checker → · Palette generator →

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