#2C5612#2C5612

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

Color values

HEX#2C5612
RGBrgb(44, 86, 18)
HSLhsl(97, 65%, 20%)
HSVhsv(97, 79%, 34%)
CMYKcmyk(48.8%, 0%, 79.1%, 66.3%)
CIE-LABlab(32.33, -27.78, 33.03)
CIE-LCHlch(32.33, 43.16, 130.07°)
OKLaboklab(40.74% -0.0773 0.0743)
OKLCHoklch(40.74% 0.107 136.1)
XYZxyz(4.4756, 7.2344, 1.7327)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5612 #3C1256
analogous
#4E5612 #2C5612 #12561A
triadic
#2C5612 #122C56 #56122C
tetradic
#2C5612 #124E56 #3C1256 #561A12
square
#2C5612 #124E56 #3C1256 #561A12
split-complementary
#2C5612 #1A1256 #56124E
monochromatic
#0D1905 #122307 #2C5612 #46891D #60BB27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5612#FFFFFF#000000##FFFFFF
##2C56121.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)
#594E06
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#2A5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c5612;
/* rgb */ color: rgb(44, 86, 18);
/* oklch */ color: oklch(40.7% 0.107 136.1);
Tailwind
colors: {
  custom: {
    50: '#6a8655',
    500: '#2c5612',
    950: '#000000',
  },
}
SCSS
$custom: #2c5612;
$custom-light: #6a8655;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5612",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 97.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.10726,
    "h": 136.1
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#2C5612
secondary
#6C358F
accent
#3FE8A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5612

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

Preview Lab → · Contrast checker → · Palette generator →

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