#2C8A28#2C8A28

#2C8A28 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.160 H 142.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8A28
RGBrgb(44, 138, 40)
HSLhsl(118, 55%, 35%)
HSVhsv(118, 71%, 54%)
CMYKcmyk(68.1%, 0%, 71%, 45.9%)
CIE-LABlab(50.53, -46.77, 42.64)
CIE-LCHlch(50.53, 63.29, 137.65°)
OKLaboklab(55.81% -0.1272 0.0976)
OKLCHoklch(55.81% 0.16 142.5)
XYZxyz(10.5096, 18.8645, 5.0944)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A28 #86288A
analogous
#5D8A28 #2C8A28 #288A55
triadic
#2C8A28 #282C8A #8A282C
tetradic
#2C8A28 #285D8A #86288A #8A5528
square
#2C8A28 #285D8A #86288A #8A5528
split-complementary
#2C8A28 #55288A #8A285D
monochromatic
#0E2B0C #1D5B1A #2C8A28 #3BB936 #61D05D

Accessibility & contrast

On white

4.40
#2C8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C8A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A28
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A28#FFFFFF#000000##000000
##2C8A281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#178676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a28;
/* rgb */ color: rgb(44, 138, 40);
/* oklch */ color: oklch(55.8% 0.160 142.5);
Tailwind
colors: {
  custom: {
    50: '#73ad68',
    500: '#2c8a28',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a28;
$custom-light: #73ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a28",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 117.551,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.16034,
    "h": 142.5
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#2C8A28
secondary
#B159B5
accent
#49DED8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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