#2C331C#2C331C

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

Color values

HEX#2C331C
RGBrgb(44, 51, 28)
HSLhsl(78, 29%, 15%)
HSVhsv(78, 45%, 20%)
CMYKcmyk(13.7%, 0%, 45.1%, 80%)
CIE-LABlab(19.99, -7.80, 13.62)
CIE-LCHlch(19.99, 15.69, 119.80°)
OKLaboklab(30.75% -0.0214 0.0335)
OKLCHoklch(30.75% 0.04 122.5)
XYZxyz(2.4321, 2.9870, 1.5468)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C331C #231C33
analogous
#332E1C #2C331C #20331C
triadic
#2C331C #1C2C33 #331C2C
tetradic
#2C331C #1C332E #231C33 #331C20
square
#2C331C #1C332E #231C33 #331C20
split-complementary
#2C331C #1C2033 #2E1C33
monochromatic
#11140B #11140B #2C331C #4E5B32 #708247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C331C#FFFFFF#000000##FFFFFF
##2C331C1.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)
#36301A
Deuteranopia (green-blind)
#35301D
Tritanopia (blue-blind)
#2E312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c331c;
/* rgb */ color: rgb(44, 51, 28);
/* oklch */ color: oklch(30.8% 0.040 122.5);
Tailwind
colors: {
  custom: {
    50: '#656a58',
    500: '#2c331c',
    950: '#000000',
  },
}
SCSS
$custom: #2c331c;
$custom-light: #656a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c331c",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 78.261,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30753,
    "c": 0.03971,
    "h": 122.5
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#2C331C
secondary
#4F4467
accent
#62C581
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2C331C

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

Preview Lab → · Contrast checker → · Palette generator →

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