#0C210E#0C210E

#0C210E is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.4% C 0.045 H 145.9°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#0C210E
RGBrgb(12, 33, 14)
HSLhsl(126, 47%, 9%)
HSVhsv(126, 64%, 13%)
CMYKcmyk(63.6%, 0%, 57.6%, 87.1%)
CIE-LABlab(10.54, -13.69, 9.51)
CIE-LCHlch(10.54, 16.67, 145.23°)
OKLaboklab(22.41% -0.0374 0.0254)
OKLCHoklch(22.41% 0.045 145.9)
XYZxyz(0.7747, 1.1975, 0.6057)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C210E #210C1F
analogous
#15210C #0C210E #0C2119
triadic
#0C210E #0E0C21 #210E0C
tetradic
#0C210E #0C1521 #210C1F #21190C
square
#0C210E #0C1521 #210C1F #21190C
split-complementary
#0C210E #190C21 #210C15
monochromatic
#08160A #08160A #0C210E #1C4E21 #2D7B34

Accessibility & contrast

On white

16.94
#0C210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0C210E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C210E
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C210E#FFFFFF#000000##FFFFFF
##0C210E1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0D
Deuteranopia (green-blind)
#1F1C0F
Tritanopia (blue-blind)
#09201C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c210e;
/* rgb */ color: rgb(12, 33, 14);
/* oklch */ color: oklch(22.4% 0.045 145.9);
Tailwind
colors: {
  custom: {
    50: '#4c5c4d',
    500: '#0c210e',
    950: '#000000',
  },
}
SCSS
$custom: #0c210e;
$custom-light: #4c5c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c210e",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 125.714,
    "s": 46.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.22406,
    "c": 0.04519,
    "h": 145.9
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#0C210E
secondary
#5B2E56
accent
#51CAD6
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #0C210E

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

Preview Lab → · Contrast checker → · Palette generator →

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