#2D401D#2D401D

#2D401D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.061 H 132.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2D401D
RGBrgb(45, 64, 29)
HSLhsl(93, 38%, 18%)
HSVhsv(93, 55%, 25%)
CMYKcmyk(29.7%, 0%, 54.7%, 74.9%)
CIE-LABlab(24.68, -14.96, 18.92)
CIE-LCHlch(24.68, 24.12, 128.34°)
OKLaboklab(34.55% -0.0414 0.0455)
OKLCHoklch(34.55% 0.062 132.3)
XYZxyz(3.1373, 4.3133, 1.8294)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D401D #301D40
analogous
#3E401D #2D401D #1D401E
triadic
#2D401D #1D2D40 #401D2D
tetradic
#2D401D #1D3E40 #301D40 #401E1D
square
#2D401D #1D3E40 #301D40 #401E1D
split-complementary
#2D401D #1E1D40 #401D3E
monochromatic
#0F150A #0F160A #2D401D #4B6A30 #689443

Accessibility & contrast

On white

11.27
#2D401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D401D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D401D#FFFFFF#000000##FFFFFF
##2D401D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1A
Deuteranopia (green-blind)
#403A1F
Tritanopia (blue-blind)
#2E3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d401d;
/* rgb */ color: rgb(45, 64, 29);
/* oklch */ color: oklch(34.6% 0.061 132.3);
Tailwind
colors: {
  custom: {
    50: '#67755a',
    500: '#2d401d',
    950: '#000000',
  },
}
SCSS
$custom: #2d401d;
$custom-light: #67755a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d401d",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 92.571,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.0615,
    "h": 132.3
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#2D401D
secondary
#5E4475
accent
#5ACE99
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D401D

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

Preview Lab → · Contrast checker → · Palette generator →

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