#2D3A0D#2D3A0D

#2D3A0D is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.069 H 124.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2D3A0D
RGBrgb(45, 58, 13)
HSLhsl(77, 63%, 14%)
HSVhsv(77, 78%, 23%)
CMYKcmyk(22.4%, 0%, 77.6%, 77.3%)
CIE-LABlab(22.35, -13.34, 25.12)
CIE-LCHlch(22.35, 28.44, 117.97°)
OKLaboklab(32.6% -0.0385 0.0569)
OKLCHoklch(32.6% 0.069 124.1)
XYZxyz(2.6679, 3.6130, 0.9375)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A0D #1A0D3A
analogous
#3A310D #2D3A0D #173A0D
triadic
#2D3A0D #0D2D3A #3A0D2D
tetradic
#2D3A0D #0D3A31 #1A0D3A #3A0D17
square
#2D3A0D #0D3A31 #1A0D3A #3A0D17
split-complementary
#2D3A0D #0D173A #310D3A
monochromatic
#131906 #131906 #2D3A0D #546C18 #7B9E23

Accessibility & contrast

On white

12.19
#2D3A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3A0D
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A0D#FFFFFF#000000##FFFFFF
##2D3A0D1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3607
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#2F3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a0d;
/* rgb */ color: rgb(45, 58, 13);
/* oklch */ color: oklch(32.6% 0.069 124.1);
Tailwind
colors: {
  custom: {
    50: '#68704e',
    500: '#2d3a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a0d;
$custom-light: #68704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a0d",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 77.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.0687,
    "h": 124.1
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#2D3A0D
secondary
#422D76
accent
#41E671
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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