#2B331D#2B331D

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

Color values

HEX#2B331D
RGBrgb(43, 51, 29)
HSLhsl(82, 28%, 16%)
HSVhsv(82, 43%, 20%)
CMYKcmyk(15.7%, 0%, 43.1%, 80%)
CIE-LABlab(19.92, -8.12, 12.86)
CIE-LCHlch(19.92, 15.21, 122.26°)
OKLaboklab(30.68% -0.0222 0.0318)
OKLCHoklch(30.68% 0.039 124.9)
XYZxyz(2.4018, 2.9699, 1.6089)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B331D #251D33
analogous
#33301D #2B331D #20331D
triadic
#2B331D #1D2B33 #331D2B
tetradic
#2B331D #1D3330 #251D33 #331D20
square
#2B331D #1D3330 #251D33 #331D20
split-complementary
#2B331D #1D2033 #301D33
monochromatic
#10140B #10140B #2B331D #4C5A33 #6D8149

Accessibility & contrast

On white

13.17
#2B331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2B331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B331D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B331D#FFFFFF#000000##FFFFFF
##2B331D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#2C312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b331d;
/* rgb */ color: rgb(43, 51, 29);
/* oklch */ color: oklch(30.7% 0.039 124.9);
Tailwind
colors: {
  custom: {
    50: '#646a59',
    500: '#2b331d',
    950: '#000000',
  },
}
SCSS
$custom: #2b331d;
$custom-light: #646a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b331d",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 81.818,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.30683,
    "c": 0.03874,
    "h": 124.9
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#2B331D
secondary
#514566
accent
#64C487
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2B331D

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

Preview Lab → · Contrast checker → · Palette generator →

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