#2C5818#2C5818

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

Color values

HEX#2C5818
RGBrgb(44, 88, 24)
HSLhsl(101, 57%, 22%)
HSVhsv(101, 73%, 35%)
CMYKcmyk(50%, 0%, 72.7%, 65.5%)
CIE-LABlab(33.09, -28.18, 31.18)
CIE-LCHlch(33.09, 42.03, 132.10°)
OKLaboklab(41.38% -0.0779 0.0714)
OKLCHoklch(41.38% 0.106 137.5)
XYZxyz(4.6932, 7.5806, 2.0799)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5818 #441858
analogous
#4C5818 #2C5818 #185824
triadic
#2C5818 #182C58 #58182C
tetradic
#2C5818 #184C58 #441858 #582418
square
#2C5818 #184C58 #441858 #582418
split-complementary
#2C5818 #241858 #58184C
monochromatic
#0C1807 #14280B #2C5818 #448825 #5CB832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5818#FFFFFF#000000##FFFFFF
##2C58181.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)
#5B500F
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#29554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5818;
/* rgb */ color: rgb(44, 88, 24);
/* oklch */ color: oklch(41.4% 0.106 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a8759',
    500: '#2c5818',
    950: '#000000',
  },
}
SCSS
$custom: #2c5818;
$custom-light: #6a8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5818",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 101.25,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.10566,
    "h": 137.5
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#2C5818
secondary
#753D8F
accent
#47E0B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5818

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

Preview Lab → · Contrast checker → · Palette generator →

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