#2C8E23#2C8E23

#2C8E23 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.168 H 141.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2C8E23
RGBrgb(44, 142, 35)
HSLhsl(115, 60%, 35%)
HSVhsv(115, 75%, 56%)
CMYKcmyk(69%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.84, -48.64, 45.97)
CIE-LCHlch(51.84, 66.93, 136.62°)
OKLaboklab(56.88% -0.1325 0.1039)
OKLCHoklch(56.88% 0.168 141.9)
XYZxyz(11.0145, 20.0017, 4.8700)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8E23 #85238E
analogous
#628E23 #2C8E23 #238E4F
triadic
#2C8E23 #232C8E #8E232C
tetradic
#2C8E23 #23628E #85238E #8E4F23
square
#2C8E23 #23628E #85238E #8E4F23
split-complementary
#2C8E23 #4F238E #8E2362
monochromatic
#0E2C0B #1D5D17 #2C8E23 #3BBF2F #61D556

Accessibility & contrast

On white

4.20
#2C8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2C8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8E23
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8E23#FFFFFF#000000##000000
##2C8E231.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#168A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8e23;
/* rgb */ color: rgb(44, 142, 35);
/* oklch */ color: oklch(56.9% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b065',
    500: '#2c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #2c8e23;
$custom-light: #74b065;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8e23",
  "rgb": {
    "r": 44,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 114.953,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56881,
    "c": 0.16841,
    "h": 141.9
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#2C8E23
secondary
#B153B9
accent
#44E4D6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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