#2C4412#2C4412

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

Color values

HEX#2C4412
RGBrgb(44, 68, 18)
HSLhsl(89, 58%, 17%)
HSVhsv(89, 74%, 27%)
CMYKcmyk(35.3%, 0%, 73.5%, 73.3%)
CIE-LABlab(25.90, -18.91, 26.39)
CIE-LCHlch(25.90, 32.46, 125.62°)
OKLaboklab(35.48% -0.0532 0.0604)
OKLCHoklch(35.48% 0.081 131.4)
XYZxyz(3.2150, 4.7133, 1.3125)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4412 #2A1244
analogous
#444312 #2C4412 #134412
triadic
#2C4412 #122C44 #44122C
tetradic
#2C4412 #124443 #2A1244 #441213
square
#2C4412 #124443 #2A1244 #441213
split-complementary
#2C4412 #121344 #431244
monochromatic
#101806 #101806 #2C4412 #4B741F #6BA52C

Accessibility & contrast

On white

10.81
#2C4412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C4412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4412
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4412#FFFFFF#000000##FFFFFF
##2C44121.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#2D413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4412;
/* rgb */ color: rgb(44, 68, 18);
/* oklch */ color: oklch(35.5% 0.081 131.4);
Tailwind
colors: {
  custom: {
    50: '#677853',
    500: '#2c4412',
    950: '#000000',
  },
}
SCSS
$custom: #2c4412;
$custom-light: #677853;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4412",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 88.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35481,
    "c": 0.0805,
    "h": 131.4
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#2C4412
secondary
#57357D
accent
#46E191
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4412

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

Preview Lab → · Contrast checker → · Palette generator →

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