#2D341E#2D341E

#2D341E is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.2% C 0.038 H 123.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2D341E
RGBrgb(45, 52, 30)
HSLhsl(79, 27%, 16%)
HSVhsv(79, 42%, 20%)
CMYKcmyk(13.5%, 0%, 42.3%, 79.6%)
CIE-LABlab(20.47, -7.62, 12.95)
CIE-LCHlch(20.47, 15.03, 120.48°)
OKLaboklab(31.17% -0.0208 0.032)
OKLCHoklch(31.17% 0.038 123)
XYZxyz(2.5445, 3.1076, 1.6938)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D341E #251E34
analogous
#34301E #2D341E #22341E
triadic
#2D341E #1E2D34 #341E2D
tetradic
#2D341E #1E3430 #251E34 #341E22
square
#2D341E #1E3430 #251E34 #341E22
split-complementary
#2D341E #1E2234 #301E34
monochromatic
#11130B #11130B #2D341E #4F5B34 #70824B

Accessibility & contrast

On white

12.95
#2D341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D341E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D341E#FFFFFF#000000##FFFFFF
##2D341E1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311C
Deuteranopia (green-blind)
#35311F
Tritanopia (blue-blind)
#2F322E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d341e;
/* rgb */ color: rgb(45, 52, 30);
/* oklch */ color: oklch(31.2% 0.038 123.0);
Tailwind
colors: {
  custom: {
    50: '#666b5a',
    500: '#2d341e',
    950: '#000000',
  },
}
SCSS
$custom: #2d341e;
$custom-light: #666b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d341e",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 79.091,
    "s": 26.829,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31171,
    "c": 0.03817,
    "h": 123
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#2D341E
secondary
#514767
accent
#65C383
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D341E

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

Preview Lab → · Contrast checker → · Palette generator →

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