#2B331B#2B331B

#2B331B is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.042 H 123.9°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2B331B
RGBrgb(43, 51, 27)
HSLhsl(80, 31%, 15%)
HSVhsv(80, 47%, 20%)
CMYKcmyk(15.7%, 0%, 47.1%, 80%)
CIE-LABlab(19.88, -8.44, 14.11)
CIE-LCHlch(19.88, 16.44, 120.88°)
OKLaboklab(30.64% -0.0232 0.0346)
OKLCHoklch(30.64% 0.042 123.9)
XYZxyz(2.3779, 2.9604, 1.4828)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B331B #231B33
analogous
#332F1B #2B331B #1F331B
triadic
#2B331B #1B2B33 #331B2B
tetradic
#2B331B #1B332F #231B33 #331B1F
square
#2B331B #1B332F #231B33 #331B1F
split-complementary
#2B331B #1B1F33 #2F1B33
monochromatic
#11140B #11140B #2B331B #4D5B30 #6E8345

Accessibility & contrast

On white

13.19
#2B331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B331B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B331B#FFFFFF#000000##FFFFFF
##2B331B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b331b;
/* rgb */ color: rgb(43, 51, 27);
/* oklch */ color: oklch(30.6% 0.042 123.9);
Tailwind
colors: {
  custom: {
    50: '#656a57',
    500: '#2b331b',
    950: '#000000',
  },
}
SCSS
$custom: #2b331b;
$custom-light: #656a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b331b",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 80,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30639,
    "c": 0.04162,
    "h": 123.9
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#2B331B
secondary
#4F4367
accent
#61C783
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2B331B

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

Preview Lab → · Contrast checker → · Palette generator →

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