#2C4512#2C4512

#2C4512 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.082 H 131.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2C4512
RGBrgb(44, 69, 18)
HSLhsl(89, 59%, 17%)
HSVhsv(89, 74%, 27%)
CMYKcmyk(36.2%, 0%, 73.9%, 72.9%)
CIE-LABlab(26.26, -19.44, 26.77)
CIE-LCHlch(26.26, 33.08, 125.98°)
OKLaboklab(35.77% -0.0546 0.0612)
OKLCHoklch(35.77% 0.082 131.8)
XYZxyz(3.2760, 4.8353, 1.3328)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4512 #2B1245
analogous
#454512 #2C4512 #124512
triadic
#2C4512 #122C45 #45122C
tetradic
#2C4512 #124545 #2B1245 #451212
square
#2C4512 #124545 #2B1245 #451212
split-complementary
#2C4512 #121245 #451245
monochromatic
#0F1806 #0F1806 #2C4512 #4B761F #6AA62B

Accessibility & contrast

On white

10.68
#2C4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4512
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4512#FFFFFF#000000##FFFFFF
##2C45121.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#2D423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c4512;
/* rgb */ color: rgb(44, 69, 18);
/* oklch */ color: oklch(35.8% 0.082 131.8);
Tailwind
colors: {
  custom: {
    50: '#677953',
    500: '#2c4512',
    950: '#000000',
  },
}
SCSS
$custom: #2c4512;
$custom-light: #677953;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4512",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 89.412,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.08205,
    "h": 131.8
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#2C4512
secondary
#59357E
accent
#46E292
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4512

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

Preview Lab → · Contrast checker → · Palette generator →

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