#2C8238#2C8238

#2C8238 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.137 H 145.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C8238
RGBrgb(44, 130, 56)
HSLhsl(128, 49%, 34%)
HSVhsv(128, 66%, 51%)
CMYKcmyk(66.2%, 0%, 56.9%, 49%)
CIE-LABlab(47.99, -41.88, 32.29)
CIE-LCHlch(47.99, 52.88, 142.37°)
OKLaboklab(53.76% -0.1132 0.0771)
OKLCHoklch(53.76% 0.137 145.8)
XYZxyz(9.7345, 16.7853, 6.4675)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8238 #822C76
analogous
#4B822C #2C8238 #2C8263
triadic
#2C8238 #382C82 #82382C
tetradic
#2C8238 #2C4B82 #822C76 #82632C
square
#2C8238 #2C4B82 #822C76 #82632C
split-complementary
#2C8238 #632C82 #822C4B
monochromatic
#0D2711 #1D5424 #2C8238 #3BB04C #5FC96E

Accessibility & contrast

On white

4.82
#2C8238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2C8238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8238
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8238#FFFFFF#000000##FFFFFF
##2C82381.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847631
Deuteranopia (green-blind)
#796F3E
Tritanopia (blue-blind)
#157F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8238;
/* rgb */ color: rgb(44, 130, 56);
/* oklch */ color: oklch(53.8% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#70a771',
    500: '#2c8238',
    950: '#000000',
  },
}
SCSS
$custom: #2c8238;
$custom-light: #70a771;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8238",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 128.372,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.13695,
    "h": 145.8
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#2C8238
secondary
#AF5BA3
accent
#4FC6D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C8238

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

Preview Lab → · Contrast checker → · Palette generator →

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