#2B331C#2B331C

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

Color values

HEX#2B331C
RGBrgb(43, 51, 28)
HSLhsl(81, 29%, 15%)
HSVhsv(81, 45%, 20%)
CMYKcmyk(15.7%, 0%, 45.1%, 80%)
CIE-LABlab(19.90, -8.28, 13.49)
CIE-LCHlch(19.90, 15.82, 121.55°)
OKLaboklab(30.66% -0.0227 0.0332)
OKLCHoklch(30.66% 0.04 124.4)
XYZxyz(2.3897, 2.9651, 1.5448)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B331C #241C33
analogous
#332F1C #2B331C #1F331C
triadic
#2B331C #1C2B33 #331C2B
tetradic
#2B331C #1C332F #241C33 #331C1F
square
#2B331C #1C332F #241C33 #331C1F
split-complementary
#2B331C #1C1F33 #2F1C33
monochromatic
#11140B #11140B #2B331C #4C5B32 #6E8247

Accessibility & contrast

On white

13.18
#2B331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B331C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B331C#FFFFFF#000000##FFFFFF
##2B331C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#2D312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b331c;
/* rgb */ color: rgb(43, 51, 28);
/* oklch */ color: oklch(30.7% 0.040 124.4);
Tailwind
colors: {
  custom: {
    50: '#646a58',
    500: '#2b331c',
    950: '#000000',
  },
}
SCSS
$custom: #2b331c;
$custom-light: #646a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b331c",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 80.87,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30661,
    "c": 0.04019,
    "h": 124.4
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#2B331C
secondary
#504467
accent
#62C585
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2B331C

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

Preview Lab → · Contrast checker → · Palette generator →

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