#2D4717#2D4717

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

Color values

HEX#2D4717
RGBrgb(45, 71, 23)
HSLhsl(93, 51%, 18%)
HSVhsv(93, 68%, 28%)
CMYKcmyk(36.6%, 0%, 67.6%, 72.2%)
CIE-LABlab(27.09, -19.55, 25.14)
CIE-LCHlch(27.09, 31.85, 127.86°)
OKLaboklab(36.48% -0.0545 0.0585)
OKLCHoklch(36.48% 0.08 133)
XYZxyz(3.4900, 5.1261, 1.6160)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4717 #311747
analogous
#454717 #2D4717 #174719
triadic
#2D4717 #172D47 #47172D
tetradic
#2D4717 #174547 #311747 #471917
square
#2D4717 #174547 #311747 #471917
split-complementary
#2D4717 #191747 #471745
monochromatic
#0F1707 #101908 #2D4717 #4A7526 #68A335

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4717#FFFFFF#000000##FFFFFF
##2D47171.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)
#4A4112
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#2D443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4717;
/* rgb */ color: rgb(45, 71, 23);
/* oklch */ color: oklch(36.5% 0.080 133.0);
Tailwind
colors: {
  custom: {
    50: '#687a56',
    500: '#2d4717',
    950: '#000000',
  },
}
SCSS
$custom: #2d4717;
$custom-light: #687a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4717",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 92.5,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36483,
    "c": 0.07995,
    "h": 133
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#2D4717
secondary
#603C7E
accent
#4DDB9A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4717

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

Preview Lab → · Contrast checker → · Palette generator →

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