#2C8A23#2C8A23

#2C8A23 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.164 H 141.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8A23
RGBrgb(44, 138, 35)
HSLhsl(115, 60%, 34%)
HSVhsv(115, 75%, 54%)
CMYKcmyk(68.1%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.49, -47.22, 44.61)
CIE-LCHlch(50.49, 64.96, 136.63°)
OKLaboklab(55.76% -0.1287 0.101)
OKLCHoklch(55.76% 0.164 141.9)
XYZxyz(10.4300, 18.8327, 4.6752)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A23 #81238A
analogous
#608A23 #2C8A23 #238A4E
triadic
#2C8A23 #232C8A #8A232C
tetradic
#2C8A23 #23608A #81238A #8A4E23
square
#2C8A23 #23608A #81238A #8A4E23
split-complementary
#2C8A23 #4E238A #8A2360
monochromatic
#0D280A #1C5917 #2C8A23 #3CBB2F #5FD454

Accessibility & contrast

On white

4.41
#2C8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A23
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A23#FFFFFF#000000##000000
##2C8A231.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#188676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a23;
/* rgb */ color: rgb(44, 138, 35);
/* oklch */ color: oklch(55.8% 0.164 141.9);
Tailwind
colors: {
  custom: {
    50: '#73ad65',
    500: '#2c8a23',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a23;
$custom-light: #73ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a23",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 114.757,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.16363,
    "h": 141.9
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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