#0C2D0C#0C2D0C

#0C2D0C is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.4% C 0.069 H 143.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0C2D0C
RGBrgb(12, 45, 12)
HSLhsl(120, 58%, 11%)
HSVhsv(120, 73%, 18%)
CMYKcmyk(73.3%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.39, -20.30, 16.96)
CIE-LCHlch(15.39, 26.45, 140.13°)
OKLaboklab(26.38% -0.0552 0.0411)
OKLCHoklch(26.38% 0.069 143.3)
XYZxyz(1.1563, 1.9814, 0.6693)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D0C #2D0C2D
analogous
#1C2D0C #0C2D0C #0C2D1C
triadic
#0C2D0C #0C0C2D #2D0C0C
tetradic
#0C2D0C #0C1C2D #2D0C2D #2D1C0C
square
#0C2D0C #0C1C2D #2D0C2D #2D1C0C
split-complementary
#0C2D0C #1C0C2D #2D0C1C
monochromatic
#061806 #061806 #0C2D0C #195D19 #268E26

Accessibility & contrast

On white

15.04
#0C2D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D0C
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D0C#FFFFFF#000000##FFFFFF
##0C2D0C1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#2A250F
Tritanopia (blue-blind)
#062C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d0c;
/* rgb */ color: rgb(12, 45, 12);
/* oklch */ color: oklch(26.4% 0.069 143.3);
Tailwind
colors: {
  custom: {
    50: '#4f664c',
    500: '#0c2d0c',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d0c;
$custom-light: #4f664c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d0c",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26381,
    "c": 0.06878,
    "h": 143.3
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#0C2D0C
secondary
#692C69
accent
#47E1E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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