#2C8B2A#2C8B2A

#2C8B2A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.160 H 142.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C8B2A
RGBrgb(44, 139, 42)
HSLhsl(119, 54%, 35%)
HSVhsv(119, 70%, 55%)
CMYKcmyk(68.3%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.88, -46.94, 42.17)
CIE-LCHlch(50.88, 63.10, 138.07°)
OKLaboklab(56.11% -0.1276 0.0969)
OKLCHoklch(56.11% 0.16 142.8)
XYZxyz(10.6886, 19.1668, 5.3263)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B2A #892A8B
analogous
#5C8B2A #2C8B2A #2A8B58
triadic
#2C8B2A #2A2C8B #8B2A2C
tetradic
#2C8B2A #2A5C8B #892A8B #8B582A
square
#2C8B2A #2A5C8B #892A8B #8B582A
split-complementary
#2C8B2A #582A8B #8B2A5C
monochromatic
#0E2D0E #1D5C1C #2C8B2A #3BBA38 #63CF60

Accessibility & contrast

On white

4.34
#2C8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2C8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B2A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B2A#FFFFFF#000000##000000
##2C8B2A1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#158777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b2a;
/* rgb */ color: rgb(44, 139, 42);
/* oklch */ color: oklch(56.1% 0.160 142.8);
Tailwind
colors: {
  custom: {
    50: '#73ae69',
    500: '#2c8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b2a;
$custom-light: #73ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b2a",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 118.763,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.16018,
    "h": 142.8
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#2C8B2A
secondary
#B35CB5
accent
#4BDDDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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