#2C5817#2C5817

#2C5817 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.106 H 137.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2C5817
RGBrgb(44, 88, 23)
HSLhsl(101, 59%, 22%)
HSVhsv(101, 74%, 35%)
CMYKcmyk(50%, 0%, 73.9%, 65.5%)
CIE-LABlab(33.08, -28.27, 31.63)
CIE-LCHlch(33.08, 42.42, 131.79°)
OKLaboklab(41.37% -0.0782 0.0722)
OKLCHoklch(41.37% 0.106 137.3)
XYZxyz(4.6829, 7.5765, 2.0261)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5817 #431758
analogous
#4D5817 #2C5817 #175822
triadic
#2C5817 #172C58 #58172C
tetradic
#2C5817 #174D58 #431758 #582217
square
#2C5817 #174D58 #431758 #582217
split-complementary
#2C5817 #221758 #58174D
monochromatic
#0C1806 #14270A #2C5817 #448924 #5DB930

Accessibility & contrast

On white

8.35
#2C5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C5817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5817
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5817#FFFFFF#000000##FFFFFF
##2C58171.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#29554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5817;
/* rgb */ color: rgb(44, 88, 23);
/* oklch */ color: oklch(41.4% 0.106 137.3);
Tailwind
colors: {
  custom: {
    50: '#6a8758',
    500: '#2c5817',
    950: '#000000',
  },
}
SCSS
$custom: #2c5817;
$custom-light: #6a8758;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5817",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 100.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.10645,
    "h": 137.3
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#2C5817
secondary
#743C8F
accent
#46E2AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5817

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

Preview Lab → · Contrast checker → · Palette generator →

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