#2D341C#2D341C

#2D341C is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.041 H 122.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#2D341C
RGBrgb(45, 52, 28)
HSLhsl(78, 30%, 16%)
HSVhsv(78, 46%, 20%)
CMYKcmyk(13.5%, 0%, 46.2%, 79.6%)
CIE-LABlab(20.43, -7.94, 14.20)
CIE-LCHlch(20.43, 16.27, 119.22°)
OKLaboklab(31.13% -0.0218 0.0348)
OKLCHoklch(31.13% 0.041 122.1)
XYZxyz(2.5198, 3.0977, 1.5636)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D341C #231C34
analogous
#342F1C #2D341C #21341C
triadic
#2D341C #1C2D34 #341C2D
tetradic
#2D341C #1C342F #231C34 #341C21
square
#2D341C #1C342F #231C34 #341C21
split-complementary
#2D341C #1C2134 #2F1C34
monochromatic
#11140B #11140B #2D341C #4F5C31 #728447

Accessibility & contrast

On white

12.97
#2D341C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D341C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D341C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D341C#FFFFFF#000000##FFFFFF
##2D341C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37311A
Deuteranopia (green-blind)
#36311D
Tritanopia (blue-blind)
#2F322E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d341c;
/* rgb */ color: rgb(45, 52, 28);
/* oklch */ color: oklch(31.1% 0.041 122.1);
Tailwind
colors: {
  custom: {
    50: '#666b58',
    500: '#2d341c',
    950: '#000000',
  },
}
SCSS
$custom: #2d341c;
$custom-light: #666b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d341c",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 28
  },
  "hsl": {
    "h": 77.5,
    "s": 30,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.04108,
    "h": 122.1
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#2D341C
secondary
#4E4468
accent
#62C67F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D341C

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

Preview Lab → · Contrast checker → · Palette generator →

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