#2C581B#2C581B

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

Color values

HEX#2C581B
RGBrgb(44, 88, 27)
HSLhsl(103, 53%, 23%)
HSVhsv(103, 69%, 35%)
CMYKcmyk(50%, 0%, 69.3%, 65.5%)
CIE-LABlab(33.12, -27.87, 29.78)
CIE-LCHlch(33.12, 40.79, 133.10°)
OKLaboklab(41.41% -0.0768 0.0688)
OKLCHoklch(41.41% 0.103 138.1)
XYZxyz(4.7261, 7.5937, 2.2534)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C581B #471B58
analogous
#4A581B #2C581B #1B5829
triadic
#2C581B #1B2C58 #581B2C
tetradic
#2C581B #1B4A58 #471B58 #58291B
square
#2C581B #1B4A58 #471B58 #58291B
split-complementary
#2C581B #291B58 #581B4A
monochromatic
#0C1707 #15290D #2C581B #438729 #5BB638

Accessibility & contrast

On white

8.34
#2C581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C581B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C581B#FFFFFF#000000##FFFFFF
##2C581B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c581b;
/* rgb */ color: rgb(44, 88, 27);
/* oklch */ color: oklch(41.4% 0.103 138.1);
Tailwind
colors: {
  custom: {
    50: '#69875a',
    500: '#2c581b',
    950: '#000000',
  },
}
SCSS
$custom: #2c581b;
$custom-light: #69875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c581b",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 103.279,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41411,
    "c": 0.10317,
    "h": 138.1
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#2C581B
secondary
#78418E
accent
#4BDCB4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C581B

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

Preview Lab → · Contrast checker → · Palette generator →

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