#2C3812#2C3812

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

Color values

HEX#2C3812
RGBrgb(44, 56, 18)
HSLhsl(79, 51%, 15%)
HSVhsv(79, 68%, 22%)
CMYKcmyk(21.4%, 0%, 67.9%, 78%)
CIE-LABlab(21.61, -12.18, 21.67)
CIE-LCHlch(21.61, 24.86, 119.34°)
OKLaboklab(32% -0.0346 0.0504)
OKLCHoklch(32% 0.061 124.5)
XYZxyz(2.5621, 3.4075, 1.0949)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3812 #1E1238
analogous
#383112 #2C3812 #193812
triadic
#2C3812 #122C38 #38122C
tetradic
#2C3812 #123831 #1E1238 #381219
square
#2C3812 #123831 #1E1238 #381219
split-complementary
#2C3812 #121938 #311238
monochromatic
#121707 #121707 #2C3812 #506621 #759530

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3812#FFFFFF#000000##FFFFFF
##2C38121.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)
#3B340E
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#2E3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3812;
/* rgb */ color: rgb(44, 56, 18);
/* oklch */ color: oklch(32.0% 0.061 124.5);
Tailwind
colors: {
  custom: {
    50: '#666e51',
    500: '#2c3812',
    950: '#000000',
  },
}
SCSS
$custom: #2c3812;
$custom-light: #666e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3812",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 18
  },
  "hsl": {
    "h": 78.947,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32001,
    "c": 0.06116,
    "h": 124.5
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#2C3812
secondary
#483571
accent
#4DDB7A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C3812

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

Preview Lab → · Contrast checker → · Palette generator →

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