#2C331B#2C331B

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

Color values

HEX#2C331B
RGBrgb(44, 51, 27)
HSLhsl(78, 31%, 15%)
HSVhsv(78, 47%, 20%)
CMYKcmyk(13.7%, 0%, 47.1%, 80%)
CIE-LABlab(19.97, -7.95, 14.24)
CIE-LCHlch(19.97, 16.31, 119.18°)
OKLaboklab(30.73% -0.0219 0.0349)
OKLCHoklch(30.73% 0.041 122.1)
XYZxyz(2.4204, 2.9823, 1.4848)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C331B #221B33
analogous
#332E1B #2C331B #20331B
triadic
#2C331B #1B2C33 #331B2C
tetradic
#2C331B #1B332E #221B33 #331B20
square
#2C331B #1B332E #221B33 #331B20
split-complementary
#2C331B #1B2033 #2E1B33
monochromatic
#11140B #11140B #2C331B #4F5B30 #718345

Accessibility & contrast

On white

13.15
#2C331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C331B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C331B#FFFFFF#000000##FFFFFF
##2C331B1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c331b;
/* rgb */ color: rgb(44, 51, 27);
/* oklch */ color: oklch(30.7% 0.041 122.1);
Tailwind
colors: {
  custom: {
    50: '#656a57',
    500: '#2c331b',
    950: '#000000',
  },
}
SCSS
$custom: #2c331b;
$custom-light: #656a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c331b",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 77.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30732,
    "c": 0.04114,
    "h": 122.1
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#2C331B
secondary
#4D4367
accent
#61C77F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2C331B

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

Preview Lab → · Contrast checker → · Palette generator →

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