#2D4718#2D4718

#2D4718 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.079 H 133.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2D4718
RGBrgb(45, 71, 24)
HSLhsl(93, 49%, 19%)
HSVhsv(93, 66%, 28%)
CMYKcmyk(36.6%, 0%, 66.2%, 72.2%)
CIE-LABlab(27.10, -19.44, 24.63)
CIE-LCHlch(27.10, 31.37, 128.28°)
OKLaboklab(36.5% -0.0541 0.0575)
OKLCHoklch(36.5% 0.079 133.3)
XYZxyz(3.5002, 5.1302, 1.6698)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4718 #321847
analogous
#444718 #2D4718 #18471A
triadic
#2D4718 #182D47 #47182D
tetradic
#2D4718 #184447 #321847 #471A18
square
#2D4718 #184447 #321847 #471A18
split-complementary
#2D4718 #1A1847 #471844
monochromatic
#0E1708 #101909 #2D4718 #4A7527 #67A237

Accessibility & contrast

On white

10.37
#2D4718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D4718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4718
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4718#FFFFFF#000000##FFFFFF
##2D47181.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4113
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#2D443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4718;
/* rgb */ color: rgb(45, 71, 24);
/* oklch */ color: oklch(36.5% 0.079 133.3);
Tailwind
colors: {
  custom: {
    50: '#687a57',
    500: '#2d4718',
    950: '#000000',
  },
}
SCSS
$custom: #2d4718;
$custom-light: #687a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4718",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 93.191,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.07896,
    "h": 133.3
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#2D4718
secondary
#613D7E
accent
#4FD99B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4718

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

Preview Lab → · Contrast checker → · Palette generator →

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