#0C2301#0C2301

#0C2301 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 22.8% C 0.066 H 136.4°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#0C2301
RGBrgb(12, 35, 1)
HSLhsl(101, 94%, 7%)
HSVhsv(101, 97%, 14%)
CMYKcmyk(65.7%, 0%, 97.1%, 86.3%)
CIE-LABlab(11.15, -17.01, 15.85)
CIE-LCHlch(11.15, 23.25, 137.03°)
OKLaboklab(22.84% -0.0478 0.0456)
OKLCHoklch(22.84% 0.066 136.4)
XYZxyz(0.7581, 1.2824, 0.2363)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2301 #180123
analogous
#1D2301 #0C2301 #012307
triadic
#0C2301 #010C23 #23010C
tetradic
#0C2301 #011D23 #180123 #230701
square
#0C2301 #011D23 #180123 #230701
split-complementary
#0C2301 #070123 #23011D
monochromatic
#0A1E01 #0A1E01 #0C2301 #205F03 #359A04

Accessibility & contrast

On white

16.71
#0C2301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C2301 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2301
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2301#FFFFFF#000000##FFFFFF
##0C23011.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#221D03
Tritanopia (blue-blind)
#0B211C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c2301;
/* rgb */ color: rgb(12, 35, 1);
/* oklch */ color: oklch(22.8% 0.066 136.4);
Tailwind
colors: {
  custom: {
    50: '#4c5e47',
    500: '#0c2301',
    950: '#000000',
  },
}
SCSS
$custom: #0c2301;
$custom-light: #4c5e47;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2301",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 1
  },
  "hsl": {
    "h": 100.588,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2284,
    "c": 0.06605,
    "h": 136.4
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#0C2301
secondary
#4F166A
accent
#29FFBA
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0C2301

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

Preview Lab → · Contrast checker → · Palette generator →

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