#2D341F#2D341F

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

Color values

HEX#2D341F
RGBrgb(45, 52, 31)
HSLhsl(80, 25%, 16%)
HSVhsv(80, 40%, 20%)
CMYKcmyk(13.5%, 0%, 40.4%, 79.6%)
CIE-LABlab(20.49, -7.46, 12.32)
CIE-LCHlch(20.49, 14.40, 121.17°)
OKLaboklab(31.19% -0.0202 0.0306)
OKLCHoklch(31.19% 0.037 123.5)
XYZxyz(2.5575, 3.1128, 1.7622)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D341F #261F34
analogous
#34311F #2D341F #23341F
triadic
#2D341F #1F2D34 #341F2D
tetradic
#2D341F #1F3431 #261F34 #341F23
square
#2D341F #1F3431 #261F34 #341F23
split-complementary
#2D341F #1F2334 #311F34
monochromatic
#11130B #11130B #2D341F #4E5A36 #6F814D

Accessibility & contrast

On white

12.94
#2D341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D341F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D341F#FFFFFF#000000##FFFFFF
##2D341F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#353120
Tritanopia (blue-blind)
#2E322F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d341f;
/* rgb */ color: rgb(45, 52, 31);
/* oklch */ color: oklch(31.2% 0.037 123.5);
Tailwind
colors: {
  custom: {
    50: '#666b5a',
    500: '#2d341f',
    950: '#000000',
  },
}
SCSS
$custom: #2d341f;
$custom-light: #666b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d341f",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 80,
    "s": 25.301,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31194,
    "c": 0.03669,
    "h": 123.5
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#2D341F
secondary
#524867
accent
#66C285
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2D341F

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

Preview Lab → · Contrast checker → · Palette generator →

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