#2C8A2B#2C8A2B

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

Color values

HEX#2C8A2B
RGBrgb(44, 138, 43)
HSLhsl(119, 52%, 35%)
HSVhsv(119, 69%, 54%)
CMYKcmyk(68.1%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.55, -46.48, 41.39)
CIE-LCHlch(50.55, 62.23, 138.32°)
OKLaboklab(55.84% -0.1263 0.0953)
OKLCHoklch(55.84% 0.158 143)
XYZxyz(10.5626, 18.8858, 5.3737)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A2B #892B8A
analogous
#5C8A2B #2C8A2B #2B8A59
triadic
#2C8A2B #2B2C8A #8A2B2C
tetradic
#2C8A2B #2B5C8A #892B8A #8A592B
square
#2C8A2B #2B5C8A #892B8A #8A592B
split-complementary
#2C8A2B #592B8A #8A2B5C
monochromatic
#0E2D0E #1D5B1C #2C8A2B #3BB93A #63CE61

Accessibility & contrast

On white

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

On black

4.78
#2C8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A2B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A2B#FFFFFF#000000##000000
##2C8A2B1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#168677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a2b;
/* rgb */ color: rgb(44, 138, 43);
/* oklch */ color: oklch(55.8% 0.158 143.0);
Tailwind
colors: {
  custom: {
    50: '#72ad69',
    500: '#2c8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a2b;
$custom-light: #72ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a2b",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 119.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.15821,
    "h": 143
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#2C8A2B
secondary
#B35DB4
accent
#4CDCDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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