#2D331C#2D331C

#2D331C is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.039 H 120.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2D331C
RGBrgb(45, 51, 28)
HSLhsl(76, 29%, 15%)
HSVhsv(76, 45%, 20%)
CMYKcmyk(11.8%, 0%, 45.1%, 80%)
CIE-LABlab(20.08, -7.31, 13.75)
CIE-LCHlch(20.08, 15.57, 118.00°)
OKLaboklab(30.85% -0.02 0.0338)
OKLCHoklch(30.85% 0.039 120.7)
XYZxyz(2.4756, 3.0094, 1.5488)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D331C #221C33
analogous
#332D1C #2D331C #21331C
triadic
#2D331C #1C2D33 #331C2D
tetradic
#2D331C #1C332D #221C33 #331C21
square
#2D331C #1C332D #221C33 #331C21
split-complementary
#2D331C #1C2133 #2D1C33
monochromatic
#11140B #11140B #2D331C #505B32 #738247

Accessibility & contrast

On white

13.11
#2D331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D331C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D331C#FFFFFF#000000##FFFFFF
##2D331C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#35311D
Tritanopia (blue-blind)
#2F312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d331c;
/* rgb */ color: rgb(45, 51, 28);
/* oklch */ color: oklch(30.8% 0.039 120.7);
Tailwind
colors: {
  custom: {
    50: '#666a58',
    500: '#2d331c',
    950: '#000000',
  },
}
SCSS
$custom: #2d331c;
$custom-light: #666a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d331c",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 75.652,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30848,
    "c": 0.03927,
    "h": 120.7
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#2D331C
secondary
#4D4467
accent
#62C57C
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D331C

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

Preview Lab → · Contrast checker → · Palette generator →

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