#2C3906#2C3906

#2C3906 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.073 H 123.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2C3906
RGBrgb(44, 57, 6)
HSLhsl(75, 81%, 12%)
HSVhsv(75, 89%, 22%)
CMYKcmyk(22.8%, 0%, 89.5%, 77.6%)
CIE-LABlab(21.85, -13.78, 27.53)
CIE-LCHlch(21.85, 30.79, 116.59°)
OKLaboklab(32.16% -0.0404 0.0613)
OKLCHoklch(32.16% 0.073 123.4)
XYZxyz(2.5347, 3.4749, 0.7094)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3906 #130639
analogous
#392D06 #2C3906 #133906
triadic
#2C3906 #062C39 #39062C
tetradic
#2C3906 #06392D #130639 #390613
square
#2C3906 #06392D #130639 #390613
split-complementary
#2C3906 #061339 #2D0639
monochromatic
#151C03 #151C03 #2C3906 #57700C #81A812

Accessibility & contrast

On white

12.39
#2C3906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C3906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3906
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3906#FFFFFF#000000##FFFFFF
##2C39061.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#2F362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3906;
/* rgb */ color: rgb(44, 57, 6);
/* oklch */ color: oklch(32.2% 0.073 123.4);
Tailwind
colors: {
  custom: {
    50: '#676f4b',
    500: '#2c3906',
    950: '#000000',
  },
}
SCSS
$custom: #2c3906;
$custom-light: #676f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3906",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 75.294,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32164,
    "c": 0.07343,
    "h": 123.4
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#2C3906
secondary
#382279
accent
#30F763
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3906

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

Preview Lab → · Contrast checker → · Palette generator →

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