#2C4911#2C4911

#2C4911 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.089 H 132.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2C4911
RGBrgb(44, 73, 17)
HSLhsl(91, 62%, 18%)
HSVhsv(91, 77%, 29%)
CMYKcmyk(39.7%, 0%, 76.7%, 71.4%)
CIE-LABlab(27.68, -21.60, 28.74)
CIE-LCHlch(27.68, 35.95, 126.92°)
OKLaboklab(36.93% -0.0606 0.0652)
OKLCHoklch(36.93% 0.089 132.9)
XYZxyz(3.5224, 5.3409, 1.3755)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4911 #2E1149
analogous
#484911 #2C4911 #114912
triadic
#2C4911 #112C49 #49112C
tetradic
#2C4911 #114849 #2E1149 #491211
square
#2C4911 #114849 #2E1149 #491211
split-complementary
#2C4911 #121149 #491148
monochromatic
#0F1906 #0F1906 #2C4911 #4A7B1D #68AC28

Accessibility & contrast

On white

10.15
#2C4911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C4911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4911
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4911#FFFFFF#000000##FFFFFF
##2C49111.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4309
Deuteranopia (green-blind)
#484116
Tritanopia (blue-blind)
#2C463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4911;
/* rgb */ color: rgb(44, 73, 17);
/* oklch */ color: oklch(36.9% 0.089 132.9);
Tailwind
colors: {
  custom: {
    50: '#687c53',
    500: '#2c4911',
    950: '#000000',
  },
}
SCSS
$custom: #2c4911;
$custom-light: #687c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4911",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 91.071,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36931,
    "c": 0.08903,
    "h": 132.9
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#2C4911
secondary
#5C3382
accent
#43E597
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4911

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

Preview Lab → · Contrast checker → · Palette generator →

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