#2D421E#2D421E

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

Color values

HEX#2D421E
RGBrgb(45, 66, 30)
HSLhsl(95, 38%, 19%)
HSVhsv(95, 55%, 26%)
CMYKcmyk(31.8%, 0%, 54.5%, 74.1%)
CIE-LABlab(25.41, -15.94, 19.21)
CIE-LCHlch(25.41, 24.96, 129.69°)
OKLaboklab(35.14% -0.044 0.0463)
OKLCHoklch(35.14% 0.064 133.6)
XYZxyz(3.2647, 4.5480, 1.9339)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D421E #331E42
analogous
#3F421E #2D421E #1E4221
triadic
#2D421E #1E2D42 #421E2D
tetradic
#2D421E #1E3F42 #331E42 #42211E
square
#2D421E #1E3F42 #331E42 #42211E
split-complementary
#2D421E #211E42 #421E3F
monochromatic
#0E150A #10180B #2D421E #4A6C31 #669644

Accessibility & contrast

On white

11.00
#2D421E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D421E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D421E#FFFFFF#000000##FFFFFF
##2D421E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D1B
Deuteranopia (green-blind)
#413C20
Tritanopia (blue-blind)
#2D403A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d421e;
/* rgb */ color: rgb(45, 66, 30);
/* oklch */ color: oklch(35.1% 0.064 133.6);
Tailwind
colors: {
  custom: {
    50: '#67765a',
    500: '#2d421e',
    950: '#000000',
  },
}
SCSS
$custom: #2d421e;
$custom-light: #67765a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d421e",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 95,
    "s": 37.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.06384,
    "h": 133.6
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#2D421E
secondary
#624577
accent
#5ACD9D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2D421E

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

Preview Lab → · Contrast checker → · Palette generator →

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