#2C4816#2C4816

#2C4816 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.083 H 133.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2C4816
RGBrgb(44, 72, 22)
HSLhsl(94, 53%, 18%)
HSVhsv(94, 69%, 28%)
CMYKcmyk(38.9%, 0%, 69.4%, 71.8%)
CIE-LABlab(27.37, -20.60, 25.97)
CIE-LCHlch(27.37, 33.15, 128.43°)
OKLaboklab(36.69% -0.0574 0.0601)
OKLCHoklch(36.69% 0.083 133.7)
XYZxyz(3.5008, 5.2280, 1.5835)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4816 #321648
analogous
#454816 #2C4816 #164819
triadic
#2C4816 #162C48 #48162C
tetradic
#2C4816 #164548 #321648 #481916
square
#2C4816 #164548 #321648 #481916
split-complementary
#2C4816 #191648 #481645
monochromatic
#0E1707 #0F1908 #2C4816 #497724 #65A633

Accessibility & contrast

On white

10.27
#2C4816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C4816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4816
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4816#FFFFFF#000000##FFFFFF
##2C48161.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4210
Deuteranopia (green-blind)
#47401A
Tritanopia (blue-blind)
#2C453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4816;
/* rgb */ color: rgb(44, 72, 22);
/* oklch */ color: oklch(36.7% 0.083 133.7);
Tailwind
colors: {
  custom: {
    50: '#677b56',
    500: '#2c4816',
    950: '#000000',
  },
}
SCSS
$custom: #2c4816;
$custom-light: #677b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4816",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 93.6,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.08313,
    "h": 133.7
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#2C4816
secondary
#613A7F
accent
#4BDD9D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4816

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

Preview Lab → · Contrast checker → · Palette generator →

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