#0C2801#0C2801

#0C2801 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.5% C 0.073 H 137.7°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#0C2801
RGBrgb(12, 40, 1)
HSLhsl(103, 95%, 8%)
HSVhsv(103, 98%, 16%)
CMYKcmyk(70%, 0%, 97.5%, 84.3%)
CIE-LABlab(13.22, -19.54, 18.66)
CIE-LCHlch(13.22, 27.01, 136.32°)
OKLaboklab(24.54% -0.0542 0.0493)
OKLCHoklch(24.54% 0.073 137.7)
XYZxyz(0.9159, 1.5979, 0.2889)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2801 #1D0128
analogous
#1F2801 #0C2801 #012809
triadic
#0C2801 #010C28 #28010C
tetradic
#0C2801 #011F28 #1D0128 #280901
square
#0C2801 #011F28 #1D0128 #280901
split-complementary
#0C2801 #090128 #28011F
monochromatic
#091E01 #091E01 #0C2801 #1E6402 #309F04

Accessibility & contrast

On white

15.91
#0C2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2801
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2801#FFFFFF#000000##FFFFFF
##0C28011.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2300
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#0A2620
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c2801;
/* rgb */ color: rgb(12, 40, 1);
/* oklch */ color: oklch(24.5% 0.073 137.7);
Tailwind
colors: {
  custom: {
    50: '#4d6247',
    500: '#0c2801',
    950: '#000000',
  },
}
SCSS
$custom: #0c2801;
$custom-light: #4d6247;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2801",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 103.077,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24544,
    "c": 0.07331,
    "h": 137.7
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#0C2801
secondary
#56166F
accent
#29FFC3
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #0C2801

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

Preview Lab → · Contrast checker → · Palette generator →

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