#2C4C13#2C4C13

#2C4C13 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.092 H 134.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2C4C13
RGBrgb(44, 76, 19)
HSLhsl(94, 60%, 19%)
HSVhsv(94, 75%, 30%)
CMYKcmyk(42.1%, 0%, 75%, 70.2%)
CIE-LABlab(28.78, -22.93, 28.95)
CIE-LCHlch(28.78, 36.93, 128.38°)
OKLaboklab(37.83% -0.0641 0.066)
OKLCHoklch(37.83% 0.092 134.2)
XYZxyz(3.7406, 5.7512, 1.5290)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C13 #33134C
analogous
#484C13 #2C4C13 #134C16
triadic
#2C4C13 #132C4C #4C132C
tetradic
#2C4C13 #13484C #33134C #4C1613
square
#2C4C13 #13484C #33134C #4C1613
split-complementary
#2C4C13 #16134C #4C1348
monochromatic
#0E1806 #101B07 #2C4C13 #487D1F #65AE2B

Accessibility & contrast

On white

9.77
#2C4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C4C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C13
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C13#FFFFFF#000000##FFFFFF
##2C4C131.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#2C4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4c13;
/* rgb */ color: rgb(44, 76, 19);
/* oklch */ color: oklch(37.8% 0.092 134.2);
Tailwind
colors: {
  custom: {
    50: '#687e54',
    500: '#2c4c13',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c13;
$custom-light: #687e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c13",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 93.684,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.09194,
    "h": 134.2
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#2C4C13
secondary
#623685
accent
#45E39E
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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