#2D3A06#2D3A06

#2D3A06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.074 H 123.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3A06
RGBrgb(45, 58, 6)
HSLhsl(75, 81%, 13%)
HSVhsv(75, 90%, 23%)
CMYKcmyk(22.4%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.29, -13.86, 28.02)
CIE-LCHlch(22.29, 31.26, 116.31°)
OKLaboklab(32.54% -0.0407 0.0622)
OKLCHoklch(32.54% 0.074 123.2)
XYZxyz(2.6282, 3.5971, 0.7281)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A06 #13063A
analogous
#3A2D06 #2D3A06 #133A06
triadic
#2D3A06 #062D3A #3A062D
tetradic
#2D3A06 #063A2D #13063A #3A0613
square
#2D3A06 #063A2D #13063A #3A0613
split-complementary
#2D3A06 #06133A #2D063A
monochromatic
#161C03 #161C03 #2D3A06 #58710C #83A911

Accessibility & contrast

On white

12.21
#2D3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D3A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A06
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A06#FFFFFF#000000##FFFFFF
##2D3A061.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#303730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a06;
/* rgb */ color: rgb(45, 58, 6);
/* oklch */ color: oklch(32.5% 0.074 123.2);
Tailwind
colors: {
  custom: {
    50: '#68704b',
    500: '#2d3a06',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a06;
$custom-light: #68704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a06",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 75,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3254,
    "c": 0.07432,
    "h": 123.2
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#2D3A06
secondary
#38227A
accent
#30F862
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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