#2C371C#2C371C

#2C371C is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.047 H 127.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2C371C
RGBrgb(44, 55, 28)
HSLhsl(84, 33%, 16%)
HSVhsv(84, 49%, 22%)
CMYKcmyk(20%, 0%, 49.1%, 78.4%)
CIE-LABlab(21.40, -10.28, 15.42)
CIE-LCHlch(21.40, 18.53, 123.68°)
OKLaboklab(31.88% -0.0283 0.0376)
OKLCHoklch(31.88% 0.047 127)
XYZxyz(2.6145, 3.3517, 1.6076)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C371C #271C37
analogous
#37351C #2C371C #1F371C
triadic
#2C371C #1C2C37 #371C2C
tetradic
#2C371C #1C3735 #271C37 #371C1F
square
#2C371C #1C3735 #271C37 #371C1F
split-complementary
#2C371C #1C1F37 #351C37
monochromatic
#10140A #10140A #2C371C #4C6031 #6D8845

Accessibility & contrast

On white

12.57
#2C371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C371C
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C371C#FFFFFF#000000##FFFFFF
##2C371C1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#2D3530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c371c;
/* rgb */ color: rgb(44, 55, 28);
/* oklch */ color: oklch(31.9% 0.047 127.0);
Tailwind
colors: {
  custom: {
    50: '#656d58',
    500: '#2c371c',
    950: '#000000',
  },
}
SCSS
$custom: #2c371c;
$custom-light: #656d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c371c",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 84.444,
    "s": 32.53,
    "l": 16.275
  },
  "oklch": {
    "l": 0.31883,
    "c": 0.04708,
    "h": 127
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#2C371C
secondary
#54436B
accent
#5FC98A
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2C371C

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

Preview Lab → · Contrast checker → · Palette generator →

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