#2C511E#2C511E

#2C511E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.090 H 138.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2C511E
RGBrgb(44, 81, 30)
HSLhsl(104, 46%, 22%)
HSVhsv(104, 63%, 32%)
CMYKcmyk(45.7%, 0%, 63%, 68.2%)
CIE-LABlab(30.67, -24.19, 25.48)
CIE-LCHlch(30.67, 35.14, 133.52°)
OKLaboklab(39.42% -0.0666 0.06)
OKLCHoklch(39.42% 0.09 138)
XYZxyz(4.2153, 6.5138, 2.2632)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C511E #431E51
analogous
#46511E #2C511E #1E512A
triadic
#2C511E #1E2C51 #511E2C
tetradic
#2C511E #1E4651 #431E51 #512A1E
square
#2C511E #1E4651 #431E51 #512A1E
split-complementary
#2C511E #2A1E51 #511E46
monochromatic
#0C1608 #14240D #2C511E #447E2F #5DAA3F

Accessibility & contrast

On white

9.12
#2C511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C511E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C511E#FFFFFF#000000##FFFFFF
##2C511E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A19
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#2A4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c511e;
/* rgb */ color: rgb(44, 81, 30);
/* oklch */ color: oklch(39.4% 0.090 138.0);
Tailwind
colors: {
  custom: {
    50: '#68825c',
    500: '#2c511e',
    950: '#000000',
  },
}
SCSS
$custom: #2c511e;
$custom-light: #68825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c511e",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 103.529,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.08964,
    "h": 138
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#2C511E
secondary
#744586
accent
#52D6B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C511E

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

Preview Lab → · Contrast checker → · Palette generator →

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