#2C4916#2C4916

#2C4916 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.085 H 134.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2C4916
RGBrgb(44, 73, 22)
HSLhsl(94, 54%, 19%)
HSVhsv(94, 70%, 29%)
CMYKcmyk(39.7%, 0%, 69.9%, 71.4%)
CIE-LABlab(27.73, -21.11, 26.36)
CIE-LCHlch(27.73, 33.77, 128.70°)
OKLaboklab(36.99% -0.0589 0.0609)
OKLCHoklch(36.99% 0.085 134)
XYZxyz(3.5660, 5.3583, 1.6053)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4916 #331649
analogous
#454916 #2C4916 #164919
triadic
#2C4916 #162C49 #49162C
tetradic
#2C4916 #164549 #331649 #491916
square
#2C4916 #164549 #331649 #491916
split-complementary
#2C4916 #191649 #491645
monochromatic
#0E1807 #101A08 #2C4916 #487824 #65A732

Accessibility & contrast

On white

10.14
#2C4916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4916
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4916#FFFFFF#000000##FFFFFF
##2C49161.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#2C463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4916;
/* rgb */ color: rgb(44, 73, 22);
/* oklch */ color: oklch(37.0% 0.085 134.0);
Tailwind
colors: {
  custom: {
    50: '#687c56',
    500: '#2c4916',
    950: '#000000',
  },
}
SCSS
$custom: #2c4916;
$custom-light: #687c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4916",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 94.118,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.08472,
    "h": 134
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#2C4916
secondary
#623A80
accent
#4BDD9E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4916

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

Preview Lab → · Contrast checker → · Palette generator →

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