#2C8630#2C8630

#2C8630 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.149 H 143.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C8630
RGBrgb(44, 134, 48)
HSLhsl(123, 51%, 35%)
HSVhsv(123, 67%, 53%)
CMYKcmyk(67.2%, 0%, 64.2%, 47.5%)
CIE-LABlab(49.25, -44.45, 37.69)
CIE-LCHlch(49.25, 58.28, 139.71°)
OKLaboklab(54.77% -0.1205 0.088)
OKLCHoklch(54.77% 0.149 143.8)
XYZxyz(10.0967, 17.7980, 5.6990)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8630 #862C82
analogous
#55862C #2C8630 #2C865D
triadic
#2C8630 #302C86 #86302C
tetradic
#2C8630 #2C5586 #862C82 #865D2C
square
#2C8630 #2C5586 #862C82 #865D2C
split-complementary
#2C8630 #5D2C86 #862C55
monochromatic
#0E2A0F #1D581F #2C8630 #3BB441 #61CB66

Accessibility & contrast

On white

4.61
#2C8630 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2C8630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8630
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8630#FFFFFF#000000##FFFFFF
##2C86301.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#168274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c8630;
/* rgb */ color: rgb(44, 134, 48);
/* oklch */ color: oklch(54.8% 0.149 143.8);
Tailwind
colors: {
  custom: {
    50: '#71aa6c',
    500: '#2c8630',
    950: '#000000',
  },
}
SCSS
$custom: #2c8630;
$custom-light: #71aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8630",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 122.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.14924,
    "h": 143.8
  },
  "luminance": 0.17799
}

Semantic roles & 50–950 ramp

primary
#2C8630
secondary
#B15CAE
accent
#4ED4DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8630

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

Preview Lab → · Contrast checker → · Palette generator →

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