#2C331F#2C331F

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

Color values

HEX#2C331F
RGBrgb(44, 51, 31)
HSLhsl(81, 24%, 16%)
HSVhsv(81, 39%, 20%)
CMYKcmyk(13.7%, 0%, 39.2%, 80%)
CIE-LABlab(20.05, -7.30, 11.73)
CIE-LCHlch(20.05, 13.82, 121.89°)
OKLaboklab(30.82% -0.0198 0.0292)
OKLCHoklch(30.82% 0.035 124.1)
XYZxyz(2.4698, 3.0020, 1.7454)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C331F #261F33
analogous
#33301F #2C331F #22331F
triadic
#2C331F #1F2C33 #331F2C
tetradic
#2C331F #1F3330 #261F33 #331F22
square
#2C331F #1F3330 #261F33 #331F22
split-complementary
#2C331F #1F2233 #301F33
monochromatic
#10130C #10130C #2C331F #4D5936 #6E7F4D

Accessibility & contrast

On white

13.12
#2C331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C331F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C331F#FFFFFF#000000##FFFFFF
##2C331F1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#343020
Tritanopia (blue-blind)
#2D312E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c331f;
/* rgb */ color: rgb(44, 51, 31);
/* oklch */ color: oklch(30.8% 0.035 124.1);
Tailwind
colors: {
  custom: {
    50: '#656a5a',
    500: '#2c331f',
    950: '#000000',
  },
}
SCSS
$custom: #2c331f;
$custom-light: #656a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c331f",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 81,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30821,
    "c": 0.03528,
    "h": 124.1
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#2C331F
secondary
#524866
accent
#67C186
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050604
muted
#7A7A79

Preview Lab

Preview with #2C331F

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

Preview Lab → · Contrast checker → · Palette generator →

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