#2C4418#2C4418

#2C4418 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.6% C 0.075 H 132.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2C4418
RGBrgb(44, 68, 24)
HSLhsl(93, 48%, 18%)
HSVhsv(93, 65%, 27%)
CMYKcmyk(35.3%, 0%, 64.7%, 73.3%)
CIE-LABlab(25.97, -18.26, 23.31)
CIE-LCHlch(25.97, 29.62, 128.08°)
OKLaboklab(35.56% -0.0508 0.0547)
OKLCHoklch(35.56% 0.075 132.9)
XYZxyz(3.2706, 4.7355, 1.6057)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4418 #301844
analogous
#424418 #2C4418 #18441A
triadic
#2C4418 #182C44 #44182C
tetradic
#2C4418 #184244 #301844 #441A18
square
#2C4418 #184244 #301844 #441A18
split-complementary
#2C4418 #1A1844 #441842
monochromatic
#0F1708 #0F1708 #2C4418 #497128 #679E38

Accessibility & contrast

On white

10.78
#2C4418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4418
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4418#FFFFFF#000000##FFFFFF
##2C44181.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F13
Deuteranopia (green-blind)
#433D1B
Tritanopia (blue-blind)
#2C413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4418;
/* rgb */ color: rgb(44, 68, 24);
/* oklch */ color: oklch(35.6% 0.075 132.9);
Tailwind
colors: {
  custom: {
    50: '#677856',
    500: '#2c4418',
    950: '#000000',
  },
}
SCSS
$custom: #2c4418;
$custom-light: #677856;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4418",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 92.727,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.07466,
    "h": 132.9
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#2C4418
secondary
#5F3D7B
accent
#50D79A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4418

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

Preview Lab → · Contrast checker → · Palette generator →

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