#2C8526#2C8526

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

Color values

HEX#2C8526
RGBrgb(44, 133, 38)
HSLhsl(116, 56%, 34%)
HSVhsv(116, 71%, 52%)
CMYKcmyk(66.9%, 0%, 71.4%, 47.8%)
CIE-LABlab(48.82, -45.14, 41.67)
CIE-LCHlch(48.82, 61.43, 137.29°)
OKLaboklab(54.39% -0.1229 0.0953)
OKLCHoklch(54.39% 0.156 142.2)
XYZxyz(9.7755, 17.4495, 4.6863)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8526 #7F2685
analogous
#5B8526 #2C8526 #26854F
triadic
#2C8526 #262C85 #85262C
tetradic
#2C8526 #265B85 #7F2685 #854F26
square
#2C8526 #265B85 #7F2685 #854F26
split-complementary
#2C8526 #4F2685 #85265B
monochromatic
#0D260B #1C5518 #2C8526 #3CB534 #5ECF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8526#FFFFFF#000000##FFFFFF
##2C85261.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)
#887818
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#1A8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8526;
/* rgb */ color: rgb(44, 133, 38);
/* oklch */ color: oklch(54.4% 0.156 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a966',
    500: '#2c8526',
    950: '#000000',
  },
}
SCSS
$custom: #2c8526;
$custom-light: #72a966;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8526",
  "rgb": {
    "r": 44,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 116.211,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54388,
    "c": 0.15553,
    "h": 142.2
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#2C8526
secondary
#AD53B3
accent
#49DFD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8526

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

Preview Lab → · Contrast checker → · Palette generator →

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