#2C4312#2C4312

#2C4312 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.079 H 131.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2C4312
RGBrgb(44, 67, 18)
HSLhsl(88, 58%, 17%)
HSVhsv(88, 73%, 26%)
CMYKcmyk(34.3%, 0%, 73.1%, 73.7%)
CIE-LABlab(25.54, -18.38, 26.00)
CIE-LCHlch(25.54, 31.84, 125.25°)
OKLaboklab(35.19% -0.0517 0.0596)
OKLCHoklch(35.19% 0.079 131)
XYZxyz(3.1550, 4.5934, 1.2925)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4312 #291243
analogous
#434212 #2C4312 #144312
triadic
#2C4312 #122C43 #43122C
tetradic
#2C4312 #124342 #291243 #431214
square
#2C4312 #124342 #291243 #431214
split-complementary
#2C4312 #121443 #421243
monochromatic
#101806 #101806 #2C4312 #4C731F #6BA32C

Accessibility & contrast

On white

10.95
#2C4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4312
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4312#FFFFFF#000000##FFFFFF
##2C43121.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0C
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#2D4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4312;
/* rgb */ color: rgb(44, 67, 18);
/* oklch */ color: oklch(35.2% 0.079 131.0);
Tailwind
colors: {
  custom: {
    50: '#677752',
    500: '#2c4312',
    950: '#000000',
  },
}
SCSS
$custom: #2c4312;
$custom-light: #677752;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4312",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 88.163,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3519,
    "c": 0.07893,
    "h": 131
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#2C4312
secondary
#56357C
accent
#47E18F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4312

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

Preview Lab → · Contrast checker → · Palette generator →

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