#2C3811#2C3811

#2C3811 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.062 H 124.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2C3811
RGBrgb(44, 56, 17)
HSLhsl(78, 53%, 14%)
HSVhsv(78, 70%, 22%)
CMYKcmyk(21.4%, 0%, 69.6%, 78%)
CIE-LABlab(21.60, -12.29, 22.21)
CIE-LCHlch(21.60, 25.38, 118.95°)
OKLaboklab(31.99% -0.035 0.0514)
OKLCHoklch(31.99% 0.062 124.3)
XYZxyz(2.5541, 3.4043, 1.0527)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3811 #1D1138
analogous
#383111 #2C3811 #193811
triadic
#2C3811 #112C38 #38112C
tetradic
#2C3811 #113831 #1D1138 #381119
square
#2C3811 #113831 #1D1138 #381119
split-complementary
#2C3811 #111938 #311138
monochromatic
#121707 #121707 #2C3811 #51671F #76962E

Accessibility & contrast

On white

12.49
#2C3811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C3811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3811
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3811#FFFFFF#000000##FFFFFF
##2C38111.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340D
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#2E3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3811;
/* rgb */ color: rgb(44, 56, 17);
/* oklch */ color: oklch(32.0% 0.062 124.3);
Tailwind
colors: {
  custom: {
    50: '#666e51',
    500: '#2c3811',
    950: '#000000',
  },
}
SCSS
$custom: #2c3811;
$custom-light: #666e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3811",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 17
  },
  "hsl": {
    "h": 78.462,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.06222,
    "h": 124.3
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#2C3811
secondary
#473471
accent
#4BDD78
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C3811

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

Preview Lab → · Contrast checker → · Palette generator →

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