#0C2F0D#0C2F0D

#0C2F0D is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.071 H 143.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#0C2F0D
RGBrgb(12, 47, 13)
HSLhsl(122, 59%, 12%)
HSVhsv(122, 74%, 18%)
CMYKcmyk(74.5%, 0%, 72.3%, 81.6%)
CIE-LABlab(16.21, -21.09, 17.52)
CIE-LCHlch(16.21, 27.42, 140.28°)
OKLaboklab(27.06% -0.0572 0.042)
OKLCHoklch(27.06% 0.071 143.7)
XYZxyz(1.2407, 2.1401, 0.7284)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F0D #2F0C2E
analogous
#1D2F0C #0C2F0D #0C2F1F
triadic
#0C2F0D #0D0C2F #2F0D0C
tetradic
#0C2F0D #0C1D2F #2F0C2E #2F1F0C
square
#0C2F0D #0C1D2F #2F0C2E #2F1F0C
split-complementary
#0C2F0D #1F0C2F #2F0C1D
monochromatic
#061807 #061807 #0C2F0D #18601A #259128

Accessibility & contrast

On white

14.71
#0C2F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F0D
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F0D#FFFFFF#000000##FFFFFF
##0C2F0D1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A09
Deuteranopia (green-blind)
#2C2710
Tritanopia (blue-blind)
#062D28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f0d;
/* rgb */ color: rgb(12, 47, 13);
/* oklch */ color: oklch(27.1% 0.071 143.7);
Tailwind
colors: {
  custom: {
    50: '#50684d',
    500: '#0c2f0d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f0d;
$custom-light: #50684d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f0d",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 121.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27059,
    "c": 0.07097,
    "h": 143.7
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#0C2F0D
secondary
#6B2C69
accent
#45DEE3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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