#0C2F13#0C2F13

#0C2F13 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.2% C 0.064 H 147.4°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#0C2F13
RGBrgb(12, 47, 19)
HSLhsl(132, 59%, 12%)
HSVhsv(132, 74%, 18%)
CMYKcmyk(74.5%, 0%, 59.6%, 81.6%)
CIE-LABlab(16.30, -20.08, 14.30)
CIE-LCHlch(16.30, 24.65, 144.54°)
OKLaboklab(27.16% -0.0542 0.0347)
OKLCHoklch(27.16% 0.064 147.4)
XYZxyz(1.2856, 2.1581, 0.9648)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F13 #2F0C28
analogous
#172F0C #0C2F13 #0C2F25
triadic
#0C2F13 #130C2F #2F130C
tetradic
#0C2F13 #0C172F #2F0C28 #2F250C
square
#0C2F13 #0C172F #2F0C28 #2F250C
split-complementary
#0C2F13 #250C2F #2F0C17
monochromatic
#06180A #06180A #0C2F13 #186027 #25913A

Accessibility & contrast

On white

14.67
#0C2F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F13
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F13#FFFFFF#000000##FFFFFF
##0C2F131.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A11
Deuteranopia (green-blind)
#2B2715
Tritanopia (blue-blind)
#042E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f13;
/* rgb */ color: rgb(12, 47, 19);
/* oklch */ color: oklch(27.2% 0.064 147.4);
Tailwind
colors: {
  custom: {
    50: '#4f6851',
    500: '#0c2f13',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f13;
$custom-light: #4f6851;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f13",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 132,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27163,
    "c": 0.06439,
    "h": 147.4
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#0C2F13
secondary
#6B2C5E
accent
#45C3E3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C2F13

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

Preview Lab → · Contrast checker → · Palette generator →

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