#2C8235#2C8235

#2C8235 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.140 H 145.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C8235
RGBrgb(44, 130, 53)
HSLhsl(126, 49%, 34%)
HSVhsv(126, 66%, 51%)
CMYKcmyk(66.2%, 0%, 59.2%, 49%)
CIE-LABlab(47.95, -42.29, 33.77)
CIE-LCHlch(47.95, 54.12, 141.40°)
OKLaboklab(53.72% -0.1144 0.0801)
OKLCHoklch(53.72% 0.14 145)
XYZxyz(9.6633, 16.7568, 6.0926)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8235 #822C79
analogous
#4E822C #2C8235 #2C8260
triadic
#2C8235 #352C82 #82352C
tetradic
#2C8235 #2C4E82 #822C79 #82602C
square
#2C8235 #2C4E82 #822C79 #82602C
split-complementary
#2C8235 #602C82 #822C4E
monochromatic
#0D2710 #1D5422 #2C8235 #3BB048 #5FC96A

Accessibility & contrast

On white

4.83
#2C8235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2C8235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8235
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8235#FFFFFF#000000##FFFFFF
##2C82351.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#167F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c8235;
/* rgb */ color: rgb(44, 130, 53);
/* oklch */ color: oklch(53.7% 0.140 145.0);
Tailwind
colors: {
  custom: {
    50: '#70a76f',
    500: '#2c8235',
    950: '#000000',
  },
}
SCSS
$custom: #2c8235;
$custom-light: #70a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8235",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 126.279,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.13967,
    "h": 145
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#2C8235
secondary
#AF5BA6
accent
#4FCBD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C8235

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

Preview Lab → · Contrast checker → · Palette generator →

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