#2C3C0C#2C3C0C

#2C3C0C is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.073 H 126.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2C3C0C
RGBrgb(44, 60, 12)
HSLhsl(80, 67%, 14%)
HSVhsv(80, 80%, 24%)
CMYKcmyk(26.7%, 0%, 80%, 76.5%)
CIE-LABlab(22.98, -15.05, 26.22)
CIE-LCHlch(22.98, 30.23, 119.86°)
OKLaboklab(33.09% -0.0432 0.0591)
OKLCHoklch(33.09% 0.073 126.2)
XYZxyz(2.7209, 3.7937, 0.9367)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C0C #1C0C3C
analogous
#3C340C #2C3C0C #143C0C
triadic
#2C3C0C #0C2C3C #3C0C2C
tetradic
#2C3C0C #0C3C34 #1C0C3C #3C0C14
square
#2C3C0C #0C3C34 #1C0C3C #3C0C14
split-complementary
#2C3C0C #0C143C #340C3C
monochromatic
#131A05 #131A05 #2C3C0C #516F16 #77A220

Accessibility & contrast

On white

11.94
#2C3C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C3C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C0C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C0C#FFFFFF#000000##FFFFFF
##2C3C0C1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403705
Deuteranopia (green-blind)
#3D3710
Tritanopia (blue-blind)
#2E3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c3c0c;
/* rgb */ color: rgb(44, 60, 12);
/* oklch */ color: oklch(33.1% 0.073 126.2);
Tailwind
colors: {
  custom: {
    50: '#67714e',
    500: '#2c3c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c0c;
$custom-light: #67714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c0c",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 80,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33089,
    "c": 0.07319,
    "h": 126.2
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#2C3C0C
secondary
#452C78
accent
#3EEA77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C3C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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