#2B371C#2B371C

#2B371C is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.8% C 0.048 H 128.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2B371C
RGBrgb(43, 55, 28)
HSLhsl(87, 33%, 16%)
HSVhsv(87, 49%, 22%)
CMYKcmyk(21.8%, 0%, 49.1%, 78.4%)
CIE-LABlab(21.32, -10.75, 15.30)
CIE-LCHlch(21.32, 18.70, 125.09°)
OKLaboklab(31.8% -0.0296 0.0373)
OKLCHoklch(31.8% 0.048 128.4)
XYZxyz(2.5720, 3.3298, 1.6056)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B371C #281C37
analogous
#37361C #2B371C #1E371C
triadic
#2B371C #1C2B37 #371C2B
tetradic
#2B371C #1C3736 #281C37 #371C1E
square
#2B371C #1C3736 #281C37 #371C1E
split-complementary
#2B371C #1C1E37 #361C37
monochromatic
#10140A #10140A #2B371C #4B6031 #6A8845

Accessibility & contrast

On white

12.61
#2B371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B371C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B371C#FFFFFF#000000##FFFFFF
##2B371C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341A
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#2C3530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b371c;
/* rgb */ color: rgb(43, 55, 28);
/* oklch */ color: oklch(31.8% 0.048 128.4);
Tailwind
colors: {
  custom: {
    50: '#656d58',
    500: '#2b371c',
    950: '#000000',
  },
}
SCSS
$custom: #2b371c;
$custom-light: #656d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b371c",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 86.667,
    "s": 32.53,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31797,
    "c": 0.04764,
    "h": 128.4
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#2B371C
secondary
#55436B
accent
#5FC98E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2B371C

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

Preview Lab → · Contrast checker → · Palette generator →

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