#2D331E#2D331E

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

Color values

HEX#2D331E
RGBrgb(45, 51, 30)
HSLhsl(77, 26%, 16%)
HSVhsv(77, 41%, 20%)
CMYKcmyk(11.8%, 0%, 41.2%, 80%)
CIE-LABlab(20.12, -6.99, 12.50)
CIE-LCHlch(20.12, 14.32, 119.22°)
OKLaboklab(30.89% -0.019 0.031)
OKLCHoklch(30.89% 0.036 121.5)
XYZxyz(2.5003, 3.0193, 1.6791)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D331E #241E33
analogous
#332E1E #2D331E #22331E
triadic
#2D331E #1E2D33 #331E2D
tetradic
#2D331E #1E332E #241E33 #331E22
square
#2D331E #1E332E #241E33 #331E22
split-complementary
#2D331E #1E2233 #2E1E33
monochromatic
#11130B #11130B #2D331E #4F5A35 #71804B

Accessibility & contrast

On white

13.09
#2D331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D331E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D331E#FFFFFF#000000##FFFFFF
##2D331E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311D
Deuteranopia (green-blind)
#35311F
Tritanopia (blue-blind)
#2F312E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d331e;
/* rgb */ color: rgb(45, 51, 30);
/* oklch */ color: oklch(30.9% 0.036 121.5);
Tailwind
colors: {
  custom: {
    50: '#666a5a',
    500: '#2d331e',
    950: '#000000',
  },
}
SCSS
$custom: #2d331e;
$custom-light: #666a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d331e",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 77.143,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.03632,
    "h": 121.5
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#2D331E
secondary
#504766
accent
#65C280
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D331E

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

Preview Lab → · Contrast checker → · Palette generator →

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