#2D4418#2D4418

#2D4418 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.074 H 132.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2D4418
RGBrgb(45, 68, 24)
HSLhsl(91, 48%, 18%)
HSVhsv(91, 65%, 27%)
CMYKcmyk(33.8%, 0%, 64.7%, 73.3%)
CIE-LABlab(26.03, -17.83, 23.41)
CIE-LCHlch(26.03, 29.43, 127.30°)
OKLaboklab(35.63% -0.0497 0.0549)
OKLCHoklch(35.63% 0.074 132.2)
XYZxyz(3.3141, 4.7580, 1.6077)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4418 #2F1844
analogous
#434418 #2D4418 #184419
triadic
#2D4418 #182D44 #44182D
tetradic
#2D4418 #184344 #2F1844 #441918
square
#2D4418 #184344 #2F1844 #441918
split-complementary
#2D4418 #191844 #441843
monochromatic
#0F1708 #0F1708 #2D4418 #4B7128 #699E38

Accessibility & contrast

On white

10.76
#2D4418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4418
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4418#FFFFFF#000000##FFFFFF
##2D44181.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F13
Deuteranopia (green-blind)
#443D1B
Tritanopia (blue-blind)
#2E413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d4418;
/* rgb */ color: rgb(45, 68, 24);
/* oklch */ color: oklch(35.6% 0.074 132.2);
Tailwind
colors: {
  custom: {
    50: '#687856',
    500: '#2d4418',
    950: '#000000',
  },
}
SCSS
$custom: #2d4418;
$custom-light: #687856;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4418",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 91.364,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35627,
    "c": 0.07405,
    "h": 132.2
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#2D4418
secondary
#5D3D7B
accent
#50D797
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4418

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

Preview Lab → · Contrast checker → · Palette generator →

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