#2C8A26#2C8A26

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

Color values

HEX#2C8A26
RGBrgb(44, 138, 38)
HSLhsl(116, 57%, 35%)
HSVhsv(116, 72%, 54%)
CMYKcmyk(68.1%, 0%, 72.5%, 45.9%)
CIE-LABlab(50.51, -46.96, 43.44)
CIE-LCHlch(50.51, 63.97, 137.23°)
OKLaboklab(55.79% -0.1278 0.099)
OKLCHoklch(55.79% 0.162 142.2)
XYZxyz(10.4765, 18.8513, 4.9199)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A26 #84268A
analogous
#5E8A26 #2C8A26 #268A52
triadic
#2C8A26 #262C8A #8A262C
tetradic
#2C8A26 #265E8A #84268A #8A5226
square
#2C8A26 #265E8A #84268A #8A5226
split-complementary
#2C8A26 #52268A #8A265E
monochromatic
#0D2A0C #1D5A19 #2C8A26 #3BBA33 #60D159

Accessibility & contrast

On white

4.40
#2C8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8A26#FFFFFF#000000##000000
##2C8A261.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#178676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a26;
/* rgb */ color: rgb(44, 138, 38);
/* oklch */ color: oklch(55.8% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ad66',
    500: '#2c8a26',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a26;
$custom-light: #73ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a26",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 116.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.1617,
    "h": 142.2
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#2C8A26
secondary
#B056B6
accent
#48E0D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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