#2C5519#2C5519

#2C5519 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.100 H 137.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2C5519
RGBrgb(44, 85, 25)
HSLhsl(101, 55%, 22%)
HSVhsv(101, 71%, 33%)
CMYKcmyk(48.2%, 0%, 70.6%, 66.7%)
CIE-LABlab(32.04, -26.69, 29.57)
CIE-LCHlch(32.04, 39.83, 132.06°)
OKLaboklab(40.52% -0.0738 0.0681)
OKLCHoklch(40.52% 0.1 137.3)
XYZxyz(4.4625, 7.1024, 2.0553)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5519 #421955
analogous
#4A5519 #2C5519 #195524
triadic
#2C5519 #192C55 #55192C
tetradic
#2C5519 #194A55 #421955 #552419
square
#2C5519 #194A55 #421955 #552419
split-complementary
#2C5519 #241955 #55194A
monochromatic
#0C1807 #14260B #2C5519 #448427 #5DB435

Accessibility & contrast

On white

8.68
#2C5519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C5519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5519
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5519#FFFFFF#000000##FFFFFF
##2C55191.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#524A1E
Tritanopia (blue-blind)
#2A5249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c5519;
/* rgb */ color: rgb(44, 85, 25);
/* oklch */ color: oklch(40.5% 0.100 137.3);
Tailwind
colors: {
  custom: {
    50: '#698559',
    500: '#2c5519',
    950: '#000000',
  },
}
SCSS
$custom: #2c5519;
$custom-light: #698559;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5519",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 101,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.10043,
    "h": 137.3
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#2C5519
secondary
#733E8B
accent
#4ADEAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5519

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

Preview Lab → · Contrast checker → · Palette generator →

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