#2D3506#2D3506

#2D3506 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.067 H 119.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2D3506
RGBrgb(45, 53, 6)
HSLhsl(70, 80%, 12%)
HSVhsv(70, 89%, 21%)
CMYKcmyk(15.1%, 0%, 88.7%, 79.2%)
CIE-LABlab(20.51, -10.91, 26.09)
CIE-LCHlch(20.51, 28.28, 112.70°)
OKLaboklab(31.1% -0.0326 0.0587)
OKLCHoklch(31.1% 0.067 119.1)
XYZxyz(2.3882, 3.1173, 0.6481)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3506 #0E0635
analogous
#352606 #2D3506 #163506
triadic
#2D3506 #062D35 #35062D
tetradic
#2D3506 #063526 #0E0635 #350616
square
#2D3506 #063526 #0E0635 #350616
split-complementary
#2D3506 #061635 #260635
monochromatic
#171B03 #171B03 #2D3506 #5C6C0C #8AA312

Accessibility & contrast

On white

12.94
#2D3506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3506 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3506
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3506#FFFFFF#000000##FFFFFF
##2D35061.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#38320A
Tritanopia (blue-blind)
#30322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3506;
/* rgb */ color: rgb(45, 53, 6);
/* oklch */ color: oklch(31.1% 0.067 119.1);
Tailwind
colors: {
  custom: {
    50: '#686c4a',
    500: '#2d3506',
    950: '#000000',
  },
}
SCSS
$custom: #2d3506;
$custom-light: #686c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3506",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 6
  },
  "hsl": {
    "h": 70.213,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.311,
    "c": 0.06717,
    "h": 119.1
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#2D3506
secondary
#302175
accent
#32F653
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3506

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

Preview Lab → · Contrast checker → · Palette generator →

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