#2C5611#2C5611

#2C5611 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.108 H 136.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2C5611
RGBrgb(44, 86, 17)
HSLhsl(97, 67%, 20%)
HSVhsv(97, 80%, 34%)
CMYKcmyk(48.8%, 0%, 80.2%, 66.3%)
CIE-LABlab(32.33, -27.86, 33.43)
CIE-LCHlch(32.33, 43.52, 129.81°)
OKLaboklab(40.73% -0.0776 0.075)
OKLCHoklch(40.73% 0.108 136)
XYZxyz(4.4676, 7.2312, 1.6906)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5611 #3B1156
analogous
#4E5611 #2C5611 #115619
triadic
#2C5611 #112C56 #56112C
tetradic
#2C5611 #114E56 #3B1156 #561911
square
#2C5611 #114E56 #3B1156 #561911
split-complementary
#2C5611 #191156 #56114E
monochromatic
#0D1A05 #122307 #2C5611 #46891B #60BC25

Accessibility & contrast

On white

8.58
#2C5611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C5611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5611
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5611#FFFFFF#000000##FFFFFF
##2C56111.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#2A5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c5611;
/* rgb */ color: rgb(44, 86, 17);
/* oklch */ color: oklch(40.7% 0.108 136.0);
Tailwind
colors: {
  custom: {
    50: '#6a8655',
    500: '#2c5611',
    950: '#000000',
  },
}
SCSS
$custom: #2c5611;
$custom-light: #6a8655;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5611",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 96.522,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.10793,
    "h": 136
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#2C5611
secondary
#6B348F
accent
#3EEAA7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5611

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

Preview Lab → · Contrast checker → · Palette generator →

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