#2D3711#2D3711

#2D3711 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.060 H 122.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2D3711
RGBrgb(45, 55, 17)
HSLhsl(76, 53%, 14%)
HSVhsv(76, 69%, 22%)
CMYKcmyk(18.2%, 0%, 69.1%, 78.4%)
CIE-LABlab(21.32, -11.20, 21.93)
CIE-LCHlch(21.32, 24.62, 117.05°)
OKLaboklab(31.79% -0.0321 0.0508)
OKLCHoklch(31.79% 0.06 122.3)
XYZxyz(2.5496, 3.3307, 1.0388)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3711 #1B1137
analogous
#372E11 #2D3711 #1A3711
triadic
#2D3711 #112D37 #37112D
tetradic
#2D3711 #11372E #1B1137 #37111A
square
#2D3711 #11372E #1B1137 #37111A
split-complementary
#2D3711 #111A37 #2E1137
monochromatic
#131707 #131707 #2D3711 #53661F #7A952E

Accessibility & contrast

On white

12.60
#2D3711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D3711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3711
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3711#FFFFFF#000000##FFFFFF
##2D37111.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B330D
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#30342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d3711;
/* rgb */ color: rgb(45, 55, 17);
/* oklch */ color: oklch(31.8% 0.060 122.3);
Tailwind
colors: {
  custom: {
    50: '#676d51',
    500: '#2d3711',
    950: '#000000',
  },
}
SCSS
$custom: #2d3711;
$custom-light: #676d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3711",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 17
  },
  "hsl": {
    "h": 75.789,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31789,
    "c": 0.06009,
    "h": 122.3
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#2D3711
secondary
#443470
accent
#4CDC72
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3711

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

Preview Lab → · Contrast checker → · Palette generator →

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