#2C3806#2C3806

#2C3806 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.072 H 122.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2C3806
RGBrgb(44, 56, 6)
HSLhsl(74, 81%, 12%)
HSVhsv(74, 89%, 22%)
CMYKcmyk(21.4%, 0%, 89.3%, 78%)
CIE-LABlab(21.49, -13.20, 27.15)
CIE-LCHlch(21.49, 30.18, 115.93°)
OKLaboklab(31.87% -0.0388 0.0606)
OKLCHoklch(31.87% 0.072 122.6)
XYZxyz(2.4858, 3.3770, 0.6931)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3806 #120638
analogous
#382B06 #2C3806 #133806
triadic
#2C3806 #062C38 #38062C
tetradic
#2C3806 #06382B #120638 #380613
square
#2C3806 #06382B #120638 #380613
split-complementary
#2C3806 #061338 #2B0638
monochromatic
#161C03 #161C03 #2C3806 #576F0C #83A712

Accessibility & contrast

On white

12.53
#2C3806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3806
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3806#FFFFFF#000000##FFFFFF
##2C38061.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3A340A
Tritanopia (blue-blind)
#2F352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3806;
/* rgb */ color: rgb(44, 56, 6);
/* oklch */ color: oklch(31.9% 0.072 122.6);
Tailwind
colors: {
  custom: {
    50: '#676e4b',
    500: '#2c3806',
    950: '#000000',
  },
}
SCSS
$custom: #2c3806;
$custom-light: #676e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3806",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 6
  },
  "hsl": {
    "h": 74.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.07198,
    "h": 122.6
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#2C3806
secondary
#362178
accent
#31F760
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3806

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

Preview Lab → · Contrast checker → · Palette generator →

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