#2B331E#2B331E

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

Color values

HEX#2B331E
RGBrgb(43, 51, 30)
HSLhsl(83, 26%, 16%)
HSVhsv(83, 41%, 20%)
CMYKcmyk(15.7%, 0%, 41.2%, 80%)
CIE-LABlab(19.94, -7.95, 12.23)
CIE-LCHlch(19.94, 14.59, 123.02°)
OKLaboklab(30.71% -0.0216 0.0304)
OKLCHoklch(30.71% 0.037 125.5)
XYZxyz(2.4144, 2.9750, 1.6751)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B331E #261E33
analogous
#33301E #2B331E #20331E
triadic
#2B331E #1E2B33 #331E2B
tetradic
#2B331E #1E3330 #261E33 #331E20
square
#2B331E #1E3330 #261E33 #331E20
split-complementary
#2B331E #1E2033 #301E33
monochromatic
#10130B #10130B #2B331E #4B5A35 #6C804B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B331E#FFFFFF#000000##FFFFFF
##2B331E1.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b331e;
/* rgb */ color: rgb(43, 51, 30);
/* oklch */ color: oklch(30.7% 0.037 125.5);
Tailwind
colors: {
  custom: {
    50: '#646a5a',
    500: '#2b331e',
    950: '#000000',
  },
}
SCSS
$custom: #2b331e;
$custom-light: #646a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b331e",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 82.857,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.03727,
    "h": 125.5
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#2B331E
secondary
#534766
accent
#65C289
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2B331E

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

Preview Lab → · Contrast checker → · Palette generator →

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