#2D4417#2D4417

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

Color values

HEX#2D4417
RGBrgb(45, 68, 23)
HSLhsl(91, 49%, 18%)
HSVhsv(91, 66%, 27%)
CMYKcmyk(33.8%, 0%, 66.2%, 73.3%)
CIE-LABlab(26.02, -17.95, 23.94)
CIE-LCHlch(26.02, 29.92, 126.86°)
OKLaboklab(35.61% -0.0501 0.0559)
OKLCHoklch(35.61% 0.075 131.9)
XYZxyz(3.3039, 4.7539, 1.5540)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4417 #2E1744
analogous
#434417 #2D4417 #174417
triadic
#2D4417 #172D44 #44172D
tetradic
#2D4417 #174344 #2E1744 #441717
square
#2D4417 #174344 #2E1744 #441717
split-complementary
#2D4417 #171744 #441743
monochromatic
#0F1708 #0F1708 #2D4417 #4B7226 #6A9F36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4417#FFFFFF#000000##FFFFFF
##2D44171.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)
#473F12
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#2E413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d4417;
/* rgb */ color: rgb(45, 68, 23);
/* oklch */ color: oklch(35.6% 0.075 131.9);
Tailwind
colors: {
  custom: {
    50: '#687856',
    500: '#2d4417',
    950: '#000000',
  },
}
SCSS
$custom: #2d4417;
$custom-light: #687856;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4417",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 90.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.07508,
    "h": 131.9
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#2D4417
secondary
#5C3C7B
accent
#4FD995
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4417

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

Preview Lab → · Contrast checker → · Palette generator →

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