#2D331B#2D331B

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

Color values

HEX#2D331B
RGBrgb(45, 51, 27)
HSLhsl(75, 31%, 15%)
HSVhsv(75, 47%, 20%)
CMYKcmyk(11.8%, 0%, 47.1%, 80%)
CIE-LABlab(20.06, -7.47, 14.37)
CIE-LCHlch(20.06, 16.20, 117.45°)
OKLaboklab(30.83% -0.0205 0.0352)
OKLCHoklch(30.83% 0.041 120.3)
XYZxyz(2.4638, 3.0047, 1.4869)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D331B #211B33
analogous
#332D1B #2D331B #21331B
triadic
#2D331B #1B2D33 #331B2D
tetradic
#2D331B #1B332D #211B33 #331B21
square
#2D331B #1B332D #211B33 #331B21
split-complementary
#2D331B #1B2133 #2D1B33
monochromatic
#12140B #12140B #2D331B #505B30 #748345

Accessibility & contrast

On white

13.12
#2D331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D331B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D331B#FFFFFF#000000##FFFFFF
##2D331B1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363019
Deuteranopia (green-blind)
#35311C
Tritanopia (blue-blind)
#2F312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d331b;
/* rgb */ color: rgb(45, 51, 27);
/* oklch */ color: oklch(30.8% 0.041 120.3);
Tailwind
colors: {
  custom: {
    50: '#666a57',
    500: '#2d331b',
    950: '#000000',
  },
}
SCSS
$custom: #2d331b;
$custom-light: #666a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d331b",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 75,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30827,
    "c": 0.04071,
    "h": 120.3
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#2D331B
secondary
#4C4367
accent
#61C77A
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D331B

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

Preview Lab → · Contrast checker → · Palette generator →

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