#2C8B23#2C8B23

#2C8B23 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.165 H 141.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C8B23
RGBrgb(44, 139, 35)
HSLhsl(115, 60%, 34%)
HSVhsv(115, 75%, 55%)
CMYKcmyk(68.3%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.83, -47.58, 44.95)
CIE-LCHlch(50.83, 65.45, 136.63°)
OKLaboklab(56.04% -0.1297 0.1017)
OKLCHoklch(56.04% 0.165 141.9)
XYZxyz(10.5741, 19.1210, 4.7232)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B23 #82238B
analogous
#608B23 #2C8B23 #238B4E
triadic
#2C8B23 #232C8B #8B232C
tetradic
#2C8B23 #23608B #82238B #8B4E23
square
#2C8B23 #23608B #82238B #8B4E23
split-complementary
#2C8B23 #4E238B #8B2360
monochromatic
#0D290A #1D5A17 #2C8B23 #3BBC2F #5FD454

Accessibility & contrast

On white

4.35
#2C8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2C8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B23
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B23#FFFFFF#000000##000000
##2C8B231.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#178777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b23;
/* rgb */ color: rgb(44, 139, 35);
/* oklch */ color: oklch(56.0% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#73ae65',
    500: '#2c8b23',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b23;
$custom-light: #73ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b23",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 114.808,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.16483,
    "h": 141.9
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#2C8B23
secondary
#AF52B8
accent
#45E3D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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