#2D3C12#2D3C12

#2D3C12 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.067 H 126.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2D3C12
RGBrgb(45, 60, 18)
HSLhsl(81, 54%, 15%)
HSVhsv(81, 70%, 24%)
CMYKcmyk(25%, 0%, 70%, 76.5%)
CIE-LABlab(23.11, -14.03, 23.38)
CIE-LCHlch(23.11, 27.26, 120.98°)
OKLaboklab(33.24% -0.0398 0.054)
OKLCHoklch(33.24% 0.067 126.4)
XYZxyz(2.8072, 3.8332, 1.1641)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C12 #21123C
analogous
#3C3612 #2D3C12 #183C12
triadic
#2D3C12 #122D3C #3C122D
tetradic
#2D3C12 #123C36 #21123C #3C1218
square
#2D3C12 #123C36 #21123C #3C1218
split-complementary
#2D3C12 #12183C #36123C
monochromatic
#121807 #121807 #2D3C12 #506B20 #749A2E

Accessibility & contrast

On white

11.89
#2D3C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D3C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C12
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C12#FFFFFF#000000##FFFFFF
##2D3C121.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380D
Deuteranopia (green-blind)
#3D3715
Tritanopia (blue-blind)
#2F3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c12;
/* rgb */ color: rgb(45, 60, 18);
/* oklch */ color: oklch(33.2% 0.067 126.4);
Tailwind
colors: {
  custom: {
    50: '#677152',
    500: '#2d3c12',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c12;
$custom-light: #677152;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c12",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 81.429,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33237,
    "c": 0.06713,
    "h": 126.4
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#2D3C12
secondary
#4C3575
accent
#4BDD7F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3C12

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

Preview Lab → · Contrast checker → · Palette generator →

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