#2D421B#2D421B

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

Color values

HEX#2D421B
RGBrgb(45, 66, 27)
HSLhsl(92, 42%, 18%)
HSVhsv(92, 59%, 26%)
CMYKcmyk(31.8%, 0%, 59.1%, 74.1%)
CIE-LABlab(25.36, -16.36, 20.92)
CIE-LCHlch(25.36, 26.56, 128.02°)
OKLaboklab(35.1% -0.0454 0.0498)
OKLCHoklch(35.1% 0.067 132.4)
XYZxyz(3.2282, 4.5334, 1.7416)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D421B #301B42
analogous
#40421B #2D421B #1B421C
triadic
#2D421B #1B2D42 #421B2D
tetradic
#2D421B #1B4042 #301B42 #421C1B
square
#2D421B #1B4042 #301B42 #421C1B
split-complementary
#2D421B #1C1B42 #421B40
monochromatic
#0F1609 #0F1709 #2D421B #4B6D2D #68993F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D421B#FFFFFF#000000##FFFFFF
##2D421B1.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)
#453D17
Deuteranopia (green-blind)
#423C1E
Tritanopia (blue-blind)
#2E3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d421b;
/* rgb */ color: rgb(45, 66, 27);
/* oklch */ color: oklch(35.1% 0.067 132.4);
Tailwind
colors: {
  custom: {
    50: '#677658',
    500: '#2d421b',
    950: '#000000',
  },
}
SCSS
$custom: #2d421b;
$custom-light: #677658;
$custom-dark: #000000;
JSON
{
  "hex": "#2d421b",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 92.308,
    "s": 41.935,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35095,
    "c": 0.06737,
    "h": 132.4
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#2D421B
secondary
#5E4178
accent
#56D299
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D421B

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

Preview Lab → · Contrast checker → · Palette generator →

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