#2C8525#2C8525

#2C8525 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.156 H 142.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C8525
RGBrgb(44, 133, 37)
HSLhsl(116, 56%, 33%)
HSVhsv(116, 72%, 52%)
CMYKcmyk(66.9%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.81, -45.23, 42.08)
CIE-LCHlch(48.81, 61.78, 137.07°)
OKLaboklab(54.38% -0.1232 0.096)
OKLCHoklch(54.38% 0.156 142.1)
XYZxyz(9.7596, 17.4431, 4.6024)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8525 #7E2585
analogous
#5C8525 #2C8525 #25854E
triadic
#2C8525 #252C85 #85252C
tetradic
#2C8525 #255C85 #7E2585 #854E25
square
#2C8525 #255C85 #7E2585 #854E25
split-complementary
#2C8525 #4E2585 #85255C
monochromatic
#0C250A #1C5518 #2C8525 #3CB532 #5ED055

Accessibility & contrast

On white

4.68
#2C8525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2C8525 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8525
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8525#FFFFFF#000000##FFFFFF
##2C85251.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887816
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#1A8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8525;
/* rgb */ color: rgb(44, 133, 37);
/* oklch */ color: oklch(54.4% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#72a965',
    500: '#2c8525',
    950: '#000000',
  },
}
SCSS
$custom: #2c8525;
$custom-light: #72a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8525",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 115.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.15621,
    "h": 142.1
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#2C8525
secondary
#AD52B4
accent
#48E0D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8525

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

Preview Lab → · Contrast checker → · Palette generator →

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