#0C2F09#0C2F09

#0C2F09 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.075 H 142.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#0C2F09
RGBrgb(12, 47, 9)
HSLhsl(115, 68%, 11%)
HSVhsv(115, 81%, 18%)
CMYKcmyk(74.5%, 0%, 80.9%, 81.6%)
CIE-LABlab(16.16, -21.63, 19.20)
CIE-LCHlch(16.16, 28.92, 138.41°)
OKLaboklab(27.01% -0.059 0.0461)
OKLCHoklch(27.01% 0.075 142)
XYZxyz(1.2174, 2.1308, 0.6055)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F09 #2C092F
analogous
#1F2F09 #0C2F09 #092F19
triadic
#0C2F09 #090C2F #2F090C
tetradic
#0C2F09 #091F2F #2C092F #2F1909
square
#0C2F09 #091F2F #2C092F #2F1909
split-complementary
#0C2F09 #19092F #2F091F
monochromatic
#071A05 #071A05 #0C2F09 #196213 #26961D

Accessibility & contrast

On white

14.72
#0C2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F09
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F09#FFFFFF#000000##FFFFFF
##0C2F091.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A05
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#062D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f09;
/* rgb */ color: rgb(12, 47, 9);
/* oklch */ color: oklch(27.0% 0.075 142.0);
Tailwind
colors: {
  custom: {
    50: '#50684b',
    500: '#0c2f09',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f09;
$custom-light: #50684b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f09",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 115.263,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27006,
    "c": 0.07482,
    "h": 142
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#0C2F09
secondary
#67276D
accent
#3DEBDD
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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