#2C4C11#2C4C11

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

Color values

HEX#2C4C11
RGBrgb(44, 76, 17)
HSLhsl(93, 63%, 18%)
HSVhsv(93, 78%, 30%)
CMYKcmyk(42.1%, 0%, 77.6%, 70.2%)
CIE-LABlab(28.76, -23.10, 29.84)
CIE-LCHlch(28.76, 37.74, 127.74°)
OKLaboklab(37.81% -0.0647 0.0675)
OKLCHoklch(37.81% 0.094 133.8)
XYZxyz(3.7243, 5.7447, 1.4428)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C11 #31114C
analogous
#494C11 #2C4C11 #114C13
triadic
#2C4C11 #112C4C #4C112C
tetradic
#2C4C11 #11494C #31114C #4C1311
square
#2C4C11 #11494C #31114C #4C1311
split-complementary
#2C4C11 #13114C #4C1149
monochromatic
#0E1906 #0F1A06 #2C4C11 #497E1C #66B027

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4C11#FFFFFF#000000##FFFFFF
##2C4C111.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)
#4F4508
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#2C4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4c11;
/* rgb */ color: rgb(44, 76, 17);
/* oklch */ color: oklch(37.8% 0.094 133.8);
Tailwind
colors: {
  custom: {
    50: '#687e53',
    500: '#2c4c11',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c11;
$custom-light: #687e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c11",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 92.542,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37808,
    "c": 0.09351,
    "h": 133.8
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#2C4C11
secondary
#603385
accent
#41E69B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4C11

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

Preview Lab → · Contrast checker → · Palette generator →

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