#2D3A15#2D3A15

#2D3A15 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.061 H 125.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2D3A15
RGBrgb(45, 58, 21)
HSLhsl(81, 47%, 15%)
HSVhsv(81, 64%, 23%)
CMYKcmyk(22.4%, 0%, 63.8%, 77.3%)
CIE-LABlab(22.44, -12.54, 20.94)
CIE-LCHlch(22.44, 24.41, 120.92°)
OKLaboklab(32.7% -0.0354 0.0492)
OKLCHoklch(32.7% 0.061 125.7)
XYZxyz(2.7306, 3.6381, 1.2677)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A15 #22153A
analogous
#3A3415 #2D3A15 #1A3A15
triadic
#2D3A15 #152D3A #3A152D
tetradic
#2D3A15 #153A34 #22153A #3A151A
square
#2D3A15 #153A34 #22153A #3A151A
split-complementary
#2D3A15 #151A3A #34153A
monochromatic
#111608 #111608 #2D3A15 #506725 #739436

Accessibility & contrast

On white

12.16
#2D3A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2D3A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A15
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A15#FFFFFF#000000##FFFFFF
##2D3A151.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3611
Deuteranopia (green-blind)
#3B3517
Tritanopia (blue-blind)
#2F3732
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3a15;
/* rgb */ color: rgb(45, 58, 21);
/* oklch */ color: oklch(32.7% 0.061 125.7);
Tailwind
colors: {
  custom: {
    50: '#677053',
    500: '#2d3a15',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a15;
$custom-light: #677053;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a15",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 21
  },
  "hsl": {
    "h": 81.081,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32703,
    "c": 0.0606,
    "h": 125.7
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#2D3A15
secondary
#4D3971
accent
#51D680
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3A15

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

Preview Lab → · Contrast checker → · Palette generator →

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