#2B331F#2B331F

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

Color values

HEX#2B331F
RGBrgb(43, 51, 31)
HSLhsl(84, 24%, 16%)
HSVhsv(84, 39%, 20%)
CMYKcmyk(15.7%, 0%, 39.2%, 80%)
CIE-LABlab(19.96, -7.78, 11.60)
CIE-LCHlch(19.96, 13.96, 123.84°)
OKLaboklab(30.73% -0.0211 0.0289)
OKLCHoklch(30.73% 0.036 126.1)
XYZxyz(2.4274, 2.9802, 1.7434)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B331F #271F33
analogous
#33311F #2B331F #21331F
triadic
#2B331F #1F2B33 #331F2B
tetradic
#2B331F #1F3331 #271F33 #331F21
square
#2B331F #1F3331 #271F33 #331F21
split-complementary
#2B331F #1F2133 #311F33
monochromatic
#10130C #10130C #2B331F #4B5936 #6B7F4D

Accessibility & contrast

On white

13.16
#2B331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B331F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B331F#FFFFFF#000000##FFFFFF
##2B331F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#343020
Tritanopia (blue-blind)
#2C312E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b331f;
/* rgb */ color: rgb(43, 51, 31);
/* oklch */ color: oklch(30.7% 0.036 126.1);
Tailwind
colors: {
  custom: {
    50: '#646a5a',
    500: '#2b331f',
    950: '#000000',
  },
}
SCSS
$custom: #2b331f;
$custom-light: #646a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b331f",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 84,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30729,
    "c": 0.03578,
    "h": 126.1
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#2B331F
secondary
#544866
accent
#67C18B
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050604
muted
#7A7A79

Preview Lab

Preview with #2B331F

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

Preview Lab → · Contrast checker → · Palette generator →

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