#0C2804#0C2804

#0C2804 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.6% C 0.069 H 139.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#0C2804
RGBrgb(12, 40, 4)
HSLhsl(107, 82%, 9%)
HSVhsv(107, 90%, 16%)
CMYKcmyk(70%, 0%, 90%, 84.3%)
CIE-LABlab(13.26, -19.08, 17.49)
CIE-LCHlch(13.26, 25.88, 137.49°)
OKLaboklab(24.59% -0.0525 0.0455)
OKLCHoklch(24.59% 0.069 139.1)
XYZxyz(0.9323, 1.6044, 0.3754)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2804 #200428
analogous
#1E2804 #0C2804 #04280E
triadic
#0C2804 #040C28 #28040C
tetradic
#0C2804 #041E28 #200428 #280E04
square
#0C2804 #041E28 #200428 #280E04
split-complementary
#0C2804 #0E0428 #28041E
monochromatic
#081C03 #081C03 #0C2804 #1D600A #2D970F

Accessibility & contrast

On white

15.90
#0C2804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0C2804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2804
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2804#FFFFFF#000000##FFFFFF
##0C28041.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292401
Deuteranopia (green-blind)
#262107
Tritanopia (blue-blind)
#092621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c2804;
/* rgb */ color: rgb(12, 40, 4);
/* oklch */ color: oklch(24.6% 0.069 139.1);
Tailwind
colors: {
  custom: {
    50: '#4d6248',
    500: '#0c2804',
    950: '#000000',
  },
}
SCSS
$custom: #0c2804;
$custom-light: #4d6248;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2804",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 106.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2459,
    "c": 0.06947,
    "h": 139.1
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#0C2804
secondary
#5A1D6B
accent
#30F8CC
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #0C2804

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

Preview Lab → · Contrast checker → · Palette generator →

#0C2804 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva