#2C3816#2C3816

#2C3816 is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.057 H 125.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2C3816
RGBrgb(44, 56, 22)
HSLhsl(81, 44%, 15%)
HSVhsv(81, 61%, 22%)
CMYKcmyk(21.4%, 0%, 60.7%, 78%)
CIE-LABlab(21.66, -11.71, 19.42)
CIE-LCHlch(21.66, 22.68, 121.09°)
OKLaboklab(32.06% -0.0329 0.046)
OKLCHoklch(32.06% 0.057 125.6)
XYZxyz(2.5977, 3.4217, 1.2825)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3816 #221638
analogous
#383316 #2C3816 #1B3816
triadic
#2C3816 #162C38 #38162C
tetradic
#2C3816 #163833 #221638 #38161B
square
#2C3816 #163833 #221638 #38161B
split-complementary
#2C3816 #161B38 #331638
monochromatic
#111609 #111609 #2C3816 #4F6427 #719039

Accessibility & contrast

On white

12.47
#2C3816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C3816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3816
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3816#FFFFFF#000000##FFFFFF
##2C38161.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3413
Deuteranopia (green-blind)
#393418
Tritanopia (blue-blind)
#2E3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3816;
/* rgb */ color: rgb(44, 56, 22);
/* oklch */ color: oklch(32.1% 0.057 125.6);
Tailwind
colors: {
  custom: {
    50: '#666e54',
    500: '#2c3816',
    950: '#000000',
  },
}
SCSS
$custom: #2c3816;
$custom-light: #666e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3816",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 22
  },
  "hsl": {
    "h": 81.176,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.05658,
    "h": 125.6
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#2C3816
secondary
#4D3B6F
accent
#54D381
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C3816

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

Preview Lab → · Contrast checker → · Palette generator →

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