#2C4216#2C4216

#2C4216 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.073 H 131.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2C4216
RGBrgb(44, 66, 22)
HSLhsl(90, 50%, 17%)
HSVhsv(90, 67%, 26%)
CMYKcmyk(33.3%, 0%, 66.7%, 74.1%)
CIE-LABlab(25.23, -17.41, 23.56)
CIE-LCHlch(25.23, 29.30, 126.47°)
OKLaboklab(34.95% -0.0487 0.055)
OKLCHoklch(34.95% 0.073 131.5)
XYZxyz(3.1317, 4.4897, 1.4605)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4216 #2C1642
analogous
#424216 #2C4216 #164216
triadic
#2C4216 #162C42 #42162C
tetradic
#2C4216 #164242 #2C1642 #421616
square
#2C4216 #164242 #2C1642 #421616
split-complementary
#2C4216 #161642 #421642
monochromatic
#0F1708 #0F1708 #2C4216 #4B7025 #699E35

Accessibility & contrast

On white

11.06
#2C4216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C4216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4216
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4216#FFFFFF#000000##FFFFFF
##2C42161.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D11
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#2D3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4216;
/* rgb */ color: rgb(44, 66, 22);
/* oklch */ color: oklch(34.9% 0.073 131.5);
Tailwind
colors: {
  custom: {
    50: '#677655',
    500: '#2c4216',
    950: '#000000',
  },
}
SCSS
$custom: #2c4216;
$custom-light: #677655;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4216",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.07344,
    "h": 131.5
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#2C4216
secondary
#5A3A79
accent
#4EDA94
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C4216

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

Preview Lab → · Contrast checker → · Palette generator →

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