#2B331A#2B331A

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

Color values

HEX#2B331A
RGBrgb(43, 51, 26)
HSLhsl(79, 32%, 15%)
HSVhsv(79, 49%, 20%)
CMYKcmyk(15.7%, 0%, 49%, 80%)
CIE-LABlab(19.87, -8.59, 14.73)
CIE-LCHlch(19.87, 17.05, 120.26°)
OKLaboklab(30.62% -0.0237 0.0359)
OKLCHoklch(30.62% 0.043 123.4)
XYZxyz(2.3665, 2.9558, 1.4229)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B331A #221A33
analogous
#332E1A #2B331A #1E331A
triadic
#2B331A #1A2B33 #331A2B
tetradic
#2B331A #1A332E #221A33 #331A1E
square
#2B331A #1A332E #221A33 #331A1E
split-complementary
#2B331A #1A1E33 #2E1A33
monochromatic
#11140A #11140A #2B331A #4D5C2F #6F8443

Accessibility & contrast

On white

13.20
#2B331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B331A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B331A#FFFFFF#000000##FFFFFF
##2B331A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363018
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#2D312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b331a;
/* rgb */ color: rgb(43, 51, 26);
/* oklch */ color: oklch(30.6% 0.043 123.4);
Tailwind
colors: {
  custom: {
    50: '#656a57',
    500: '#2b331a',
    950: '#000000',
  },
}
SCSS
$custom: #2b331a;
$custom-light: #656a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b331a",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 79.2,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30618,
    "c": 0.04303,
    "h": 123.4
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#2B331A
secondary
#4D4168
accent
#5FC981
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2B331A

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

Preview Lab → · Contrast checker → · Palette generator →

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