#2C331A#2C331A

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

Color values

HEX#2C331A
RGBrgb(44, 51, 26)
HSLhsl(77, 32%, 15%)
HSVhsv(77, 49%, 20%)
CMYKcmyk(13.7%, 0%, 49%, 80%)
CIE-LABlab(19.95, -8.10, 14.86)
CIE-LCHlch(19.95, 16.93, 118.61°)
OKLaboklab(30.71% -0.0224 0.0362)
OKLCHoklch(30.71% 0.043 121.7)
XYZxyz(2.4090, 2.9777, 1.4249)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C331A #211A33
analogous
#332D1A #2C331A #1F331A
triadic
#2C331A #1A2C33 #331A2C
tetradic
#2C331A #1A332D #211A33 #331A1F
square
#2C331A #1A332D #211A33 #331A1F
split-complementary
#2C331A #1A1F33 #2D1A33
monochromatic
#11140A #11140A #2C331A #4F5C2F #728443

Accessibility & contrast

On white

13.16
#2C331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C331A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C331A#FFFFFF#000000##FFFFFF
##2C331A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c331a;
/* rgb */ color: rgb(44, 51, 26);
/* oklch */ color: oklch(30.7% 0.043 121.7);
Tailwind
colors: {
  custom: {
    50: '#656a57',
    500: '#2c331a',
    950: '#000000',
  },
}
SCSS
$custom: #2c331a;
$custom-light: #656a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c331a",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 76.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30711,
    "c": 0.04257,
    "h": 121.7
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#2C331A
secondary
#4C4168
accent
#5FC97D
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2C331A

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

Preview Lab → · Contrast checker → · Palette generator →

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