#2D3D17#2D3D17

#2D3D17 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.063 H 128.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2D3D17
RGBrgb(45, 61, 23)
HSLhsl(85, 45%, 16%)
HSVhsv(85, 62%, 24%)
CMYKcmyk(26.2%, 0%, 62.3%, 76.1%)
CIE-LABlab(23.53, -14.05, 21.06)
CIE-LCHlch(23.53, 25.32, 123.70°)
OKLaboklab(33.59% -0.0394 0.0497)
OKLCHoklch(33.59% 0.063 128.4)
XYZxyz(2.9056, 3.9572, 1.4212)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D17 #27173D
analogous
#3D3A17 #2D3D17 #1A3D17
triadic
#2D3D17 #172D3D #3D172D
tetradic
#2D3D17 #173D3A #27173D #3D171A
square
#2D3D17 #173D3A #27173D #3D171A
split-complementary
#2D3D17 #171A3D #3A173D
monochromatic
#101608 #101608 #2D3D17 #4E6928 #6F9639

Accessibility & contrast

On white

11.72
#2D3D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D3D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D17
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D17#FFFFFF#000000##FFFFFF
##2D3D171.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403913
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#2E3A35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d17;
/* rgb */ color: rgb(45, 61, 23);
/* oklch */ color: oklch(33.6% 0.063 128.4);
Tailwind
colors: {
  custom: {
    50: '#677255',
    500: '#2d3d17',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d17;
$custom-light: #677255;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d17",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 23
  },
  "hsl": {
    "h": 85.263,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.06339,
    "h": 128.4
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#2D3D17
secondary
#543C74
accent
#53D58A
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D3D17

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

Preview Lab → · Contrast checker → · Palette generator →

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