#2D3D12#2D3D12

#2D3D12 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.069 H 127.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2D3D12
RGBrgb(45, 61, 18)
HSLhsl(82, 54%, 15%)
HSVhsv(82, 70%, 24%)
CMYKcmyk(26.2%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.47, -14.60, 23.77)
CIE-LCHlch(23.47, 27.90, 121.57°)
OKLaboklab(33.53% -0.0414 0.0549)
OKLCHoklch(33.53% 0.069 127.1)
XYZxyz(2.8601, 3.9390, 1.1818)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D12 #22123D
analogous
#3D3712 #2D3D12 #173D12
triadic
#2D3D12 #122D3D #3D122D
tetradic
#2D3D12 #123D37 #22123D #3D1217
square
#2D3D12 #123D37 #22123D #3D1217
split-complementary
#2D3D12 #12173D #37123D
monochromatic
#111807 #111807 #2D3D12 #506C20 #739C2E

Accessibility & contrast

On white

11.75
#2D3D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3D12
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D12#FFFFFF#000000##FFFFFF
##2D3D121.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40390D
Deuteranopia (green-blind)
#3E3815
Tritanopia (blue-blind)
#2F3A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d12;
/* rgb */ color: rgb(45, 61, 18);
/* oklch */ color: oklch(33.5% 0.069 127.1);
Tailwind
colors: {
  custom: {
    50: '#677252',
    500: '#2d3d12',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d12;
$custom-light: #677252;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d12",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 82.326,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33525,
    "c": 0.06874,
    "h": 127.1
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#2D3D12
secondary
#4D3576
accent
#4ADE81
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3D12

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

Preview Lab → · Contrast checker → · Palette generator →

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