#2D331D#2D331D

#2D331D is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.9% C 0.038 H 121.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2D331D
RGBrgb(45, 51, 29)
HSLhsl(76, 28%, 16%)
HSVhsv(76, 43%, 20%)
CMYKcmyk(11.8%, 0%, 43.1%, 80%)
CIE-LABlab(20.10, -7.15, 13.12)
CIE-LCHlch(20.10, 14.95, 118.59°)
OKLaboklab(30.87% -0.0195 0.0324)
OKLCHoklch(30.87% 0.038 121.1)
XYZxyz(2.4878, 3.0143, 1.6129)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D331D #231D33
analogous
#332E1D #2D331D #22331D
triadic
#2D331D #1D2D33 #331D2D
tetradic
#2D331D #1D332E #231D33 #331D22
square
#2D331D #1D332E #231D33 #331D22
split-complementary
#2D331D #1D2233 #2E1D33
monochromatic
#11140B #11140B #2D331D #4F5A33 #728149

Accessibility & contrast

On white

13.10
#2D331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D331D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D331D#FFFFFF#000000##FFFFFF
##2D331D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#35311E
Tritanopia (blue-blind)
#2F312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d331d;
/* rgb */ color: rgb(45, 51, 29);
/* oklch */ color: oklch(30.9% 0.038 121.1);
Tailwind
colors: {
  custom: {
    50: '#666a59',
    500: '#2d331d',
    950: '#000000',
  },
}
SCSS
$custom: #2d331d;
$custom-light: #666a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d331d",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 76.364,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3087,
    "c": 0.0378,
    "h": 121.1
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#2D331D
secondary
#4E4566
accent
#64C47E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D331D

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

Preview Lab → · Contrast checker → · Palette generator →

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