#2C581C#2C581C

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

Color values

HEX#2C581C
RGBrgb(44, 88, 28)
HSLhsl(104, 52%, 23%)
HSVhsv(104, 68%, 35%)
CMYKcmyk(50%, 0%, 68.2%, 65.5%)
CIE-LABlab(33.13, -27.76, 29.30)
CIE-LCHlch(33.13, 40.36, 133.45°)
OKLaboklab(41.42% -0.0765 0.0679)
OKLCHoklch(41.42% 0.102 138.4)
XYZxyz(4.7379, 7.5984, 2.3154)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C581C #481C58
analogous
#4A581C #2C581C #1C582A
triadic
#2C581C #1C2C58 #581C2C
tetradic
#2C581C #1C4A58 #481C58 #582A1C
square
#2C581C #1C4A58 #481C58 #582A1C
split-complementary
#2C581C #2A1C58 #581C4A
monochromatic
#0C1707 #152A0D #2C581C #43862B #5AB53A

Accessibility & contrast

On white

8.33
#2C581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C581C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C581C#FFFFFF#000000##FFFFFF
##2C581C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c581c;
/* rgb */ color: rgb(44, 88, 28);
/* oklch */ color: oklch(41.4% 0.102 138.4);
Tailwind
colors: {
  custom: {
    50: '#69875b',
    500: '#2c581c',
    950: '#000000',
  },
}
SCSS
$custom: #2c581c;
$custom-light: #69875b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c581c",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 104,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.10229,
    "h": 138.4
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#2C581C
secondary
#79428E
accent
#4DDBB5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C581C

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

Preview Lab → · Contrast checker → · Palette generator →

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