#2D3D15#2D3D15

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

Color values

HEX#2D3D15
RGBrgb(45, 61, 21)
HSLhsl(84, 49%, 16%)
HSVhsv(84, 66%, 24%)
CMYKcmyk(26.2%, 0%, 65.6%, 76.1%)
CIE-LABlab(23.50, -14.28, 22.17)
CIE-LCHlch(23.50, 26.37, 122.79°)
OKLaboklab(33.57% -0.0402 0.0519)
OKLCHoklch(33.57% 0.066 127.8)
XYZxyz(2.8863, 3.9495, 1.3196)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D15 #25153D
analogous
#3D3915 #2D3D15 #193D15
triadic
#2D3D15 #152D3D #3D152D
tetradic
#2D3D15 #153D39 #25153D #3D1519
square
#2D3D15 #153D39 #25153D #3D1519
split-complementary
#2D3D15 #15193D #39153D
monochromatic
#111708 #111708 #2D3D15 #4F6B25 #709834

Accessibility & contrast

On white

11.73
#2D3D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3D15
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D15#FFFFFF#000000##FFFFFF
##2D3D151.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403911
Deuteranopia (green-blind)
#3E3818
Tritanopia (blue-blind)
#2F3A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d15;
/* rgb */ color: rgb(45, 61, 21);
/* oklch */ color: oklch(33.6% 0.066 127.8);
Tailwind
colors: {
  custom: {
    50: '#677254',
    500: '#2d3d15',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d15;
$custom-light: #677254;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d15",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 21
  },
  "hsl": {
    "h": 84,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.06562,
    "h": 127.8
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#2D3D15
secondary
#513975
accent
#4FD886
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3D15

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

Preview Lab → · Contrast checker → · Palette generator →

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