#2C4417#2C4417

#2C4417 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.076 H 132.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2C4417
RGBrgb(44, 68, 23)
HSLhsl(92, 49%, 18%)
HSVhsv(92, 66%, 27%)
CMYKcmyk(35.3%, 0%, 66.2%, 73.3%)
CIE-LABlab(25.96, -18.38, 23.85)
CIE-LCHlch(25.96, 30.11, 127.63°)
OKLaboklab(35.54% -0.0513 0.0557)
OKLCHoklch(35.54% 0.076 132.6)
XYZxyz(3.2604, 4.7315, 1.5519)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4417 #2F1744
analogous
#424417 #2C4417 #174418
triadic
#2C4417 #172C44 #44172C
tetradic
#2C4417 #174244 #2F1744 #441817
square
#2C4417 #174244 #2F1744 #441817
split-complementary
#2C4417 #181744 #441742
monochromatic
#0F1708 #0F1708 #2C4417 #4A7226 #679F36

Accessibility & contrast

On white

10.79
#2C4417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C4417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4417
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4417#FFFFFF#000000##FFFFFF
##2C44171.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#2C413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4417;
/* rgb */ color: rgb(44, 68, 23);
/* oklch */ color: oklch(35.5% 0.076 132.6);
Tailwind
colors: {
  custom: {
    50: '#677856',
    500: '#2c4417',
    950: '#000000',
  },
}
SCSS
$custom: #2c4417;
$custom-light: #677856;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4417",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 92,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35542,
    "c": 0.0757,
    "h": 132.6
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#2C4417
secondary
#5E3C7B
accent
#4FD999
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4417

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

Preview Lab → · Contrast checker → · Palette generator →

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