#2D3911#2D3911

#2D3911 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.063 H 124.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2D3911
RGBrgb(45, 57, 17)
HSLhsl(78, 54%, 15%)
HSVhsv(78, 70%, 22%)
CMYKcmyk(21.1%, 0%, 70.2%, 77.6%)
CIE-LABlab(22.03, -12.39, 22.72)
CIE-LCHlch(22.03, 25.88, 118.60°)
OKLaboklab(32.36% -0.0354 0.0525)
OKLCHoklch(32.36% 0.063 124)
XYZxyz(2.6465, 3.5246, 1.0711)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3911 #1D1139
analogous
#393111 #2D3911 #193911
triadic
#2D3911 #112D39 #39112D
tetradic
#2D3911 #113931 #1D1139 #391119
square
#2D3911 #113931 #1D1139 #391119
split-complementary
#2D3911 #111939 #311139
monochromatic
#131807 #131807 #2D3911 #52681F #77972D

Accessibility & contrast

On white

12.32
#2D3911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D3911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3911
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3911#FFFFFF#000000##FFFFFF
##2D39111.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350C
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#2F3630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3911;
/* rgb */ color: rgb(45, 57, 17);
/* oklch */ color: oklch(32.4% 0.063 124.0);
Tailwind
colors: {
  custom: {
    50: '#676f51',
    500: '#2d3911',
    950: '#000000',
  },
}
SCSS
$custom: #2d3911;
$custom-light: #676f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3911",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 17
  },
  "hsl": {
    "h": 78,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.0633,
    "h": 124
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#2D3911
secondary
#463472
accent
#4ADD76
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3911

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

Preview Lab → · Contrast checker → · Palette generator →

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