#0C2D0D#0C2D0D

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

Color values

HEX#0C2D0D
RGBrgb(12, 45, 13)
HSLhsl(122, 58%, 11%)
HSVhsv(122, 73%, 18%)
CMYKcmyk(73.3%, 0%, 71.1%, 82.4%)
CIE-LABlab(15.40, -20.15, 16.51)
CIE-LCHlch(15.40, 26.05, 140.67°)
OKLaboklab(26.4% -0.0547 0.04)
OKLCHoklch(26.4% 0.068 143.8)
XYZxyz(1.1626, 1.9839, 0.7024)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D0D #2D0C2C
analogous
#1B2D0C #0C2D0D #0C2D1D
triadic
#0C2D0D #0D0C2D #2D0D0C
tetradic
#0C2D0D #0C1B2D #2D0C2C #2D1D0C
square
#0C2D0D #0C1B2D #2D0C2C #2D1D0C
split-complementary
#0C2D0D #1D0C2D #2D0C1B
monochromatic
#061807 #061807 #0C2D0D #195D1B #268E29

Accessibility & contrast

On white

15.03
#0C2D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D0D
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D0D#FFFFFF#000000##FFFFFF
##0C2D0D1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280A
Deuteranopia (green-blind)
#2A2510
Tritanopia (blue-blind)
#062C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d0d;
/* rgb */ color: rgb(12, 45, 13);
/* oklch */ color: oklch(26.4% 0.068 143.8);
Tailwind
colors: {
  custom: {
    50: '#4f664d',
    500: '#0c2d0d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d0d;
$custom-light: #4f664d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d0d",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 121.818,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26396,
    "c": 0.06773,
    "h": 143.8
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#0C2D0D
secondary
#692C67
accent
#47DCE1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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