#2D421C#2D421C

#2D421C is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.066 H 132.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2D421C
RGBrgb(45, 66, 28)
HSLhsl(93, 40%, 18%)
HSVhsv(93, 58%, 26%)
CMYKcmyk(31.8%, 0%, 57.6%, 74.1%)
CIE-LABlab(25.38, -16.23, 20.36)
CIE-LCHlch(25.38, 26.03, 128.56°)
OKLaboklab(35.11% -0.0449 0.0486)
OKLCHoklch(35.11% 0.066 132.7)
XYZxyz(3.2399, 4.5381, 1.8036)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D421C #311C42
analogous
#40421C #2D421C #1C421E
triadic
#2D421C #1C2D42 #421C2D
tetradic
#2D421C #1C4042 #311C42 #421E1C
square
#2D421C #1C4042 #311C42 #421E1C
split-complementary
#2D421C #1E1C42 #421C40
monochromatic
#0F1509 #10170A #2D421C #4A6D2E #689840

Accessibility & contrast

On white

11.01
#2D421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D421C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D421C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D421C#FFFFFF#000000##FFFFFF
##2D421C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D19
Deuteranopia (green-blind)
#423C1E
Tritanopia (blue-blind)
#2D3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d421c;
/* rgb */ color: rgb(45, 66, 28);
/* oklch */ color: oklch(35.1% 0.066 132.7);
Tailwind
colors: {
  custom: {
    50: '#677659',
    500: '#2d421c',
    950: '#000000',
  },
}
SCSS
$custom: #2d421c;
$custom-light: #677659;
$custom-dark: #000000;
JSON
{
  "hex": "#2d421c",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 93.158,
    "s": 40.426,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.06622,
    "h": 132.7
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#2D421C
secondary
#604377
accent
#58D09A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D421C

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

Preview Lab → · Contrast checker → · Palette generator →

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