#0C2103#0C2103

#0C2103 is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.2% C 0.060 H 136.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#0C2103
RGBrgb(12, 33, 3)
HSLhsl(102, 83%, 7%)
HSVhsv(102, 91%, 13%)
CMYKcmyk(63.6%, 0%, 90.9%, 87.1%)
CIE-LABlab(10.35, -15.46, 13.92)
CIE-LCHlch(10.35, 20.80, 138.01°)
OKLaboklab(22.19% -0.0437 0.0409)
OKLCHoklch(22.19% 0.06 136.9)
XYZxyz(0.7119, 1.1724, 0.2749)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2103 #180321
analogous
#1B2103 #0C2103 #032109
triadic
#0C2103 #030C21 #21030C
tetradic
#0C2103 #031B21 #180321 #210903
square
#0C2103 #031B21 #180321 #210903
split-complementary
#0C2103 #090321 #21031B
monochromatic
#0A1C03 #0A1C03 #0C2103 #205908 #35910D

Accessibility & contrast

On white

17.01
#0C2103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0C2103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2103
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2103#FFFFFF#000000##FFFFFF
##0C21031.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D01
Deuteranopia (green-blind)
#201C05
Tritanopia (blue-blind)
#0B1F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c2103;
/* rgb */ color: rgb(12, 33, 3);
/* oklch */ color: oklch(22.2% 0.060 136.9);
Tailwind
colors: {
  custom: {
    50: '#4c5c48',
    500: '#0c2103',
    950: '#000000',
  },
}
SCSS
$custom: #0c2103;
$custom-light: #4c5c48;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2103",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 3
  },
  "hsl": {
    "h": 102,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22192,
    "c": 0.05986,
    "h": 136.9
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#0C2103
secondary
#4F1B65
accent
#2EFABD
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0C2103

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

Preview Lab → · Contrast checker → · Palette generator →

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