#2C581F#2C581F

#2C581F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.100 H 139.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2C581F
RGBrgb(44, 88, 31)
HSLhsl(106, 48%, 23%)
HSVhsv(106, 65%, 35%)
CMYKcmyk(50%, 0%, 64.8%, 65.5%)
CIE-LABlab(33.16, -27.41, 27.82)
CIE-LCHlch(33.16, 39.06, 134.58°)
OKLaboklab(41.46% -0.0753 0.0651)
OKLCHoklch(41.46% 0.1 139.1)
XYZxyz(4.7756, 7.6135, 2.5140)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C581F #4B1F58
analogous
#48581F #2C581F #1F582E
triadic
#2C581F #1F2C58 #581F2C
tetradic
#2C581F #1F4858 #4B1F58 #582E1F
square
#2C581F #1F4858 #4B1F58 #582E1F
split-complementary
#2C581F #2E1F58 #581F48
monochromatic
#0B1708 #152B0F #2C581F #43852F #59B33F

Accessibility & contrast

On white

8.32
#2C581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C581F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C581F#FFFFFF#000000##FFFFFF
##2C581F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5019
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#28554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c581f;
/* rgb */ color: rgb(44, 88, 31);
/* oklch */ color: oklch(41.5% 0.100 139.1);
Tailwind
colors: {
  custom: {
    50: '#69875d',
    500: '#2c581f',
    950: '#000000',
  },
}
SCSS
$custom: #2c581f;
$custom-light: #69875d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c581f",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 106.316,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.09957,
    "h": 139.1
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#2C581F
secondary
#7D468D
accent
#50D7B9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C581F

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

Preview Lab → · Contrast checker → · Palette generator →

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