#0C2D0E#0C2D0E

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

Color values

HEX#0C2D0E
RGBrgb(12, 45, 14)
HSLhsl(124, 58%, 11%)
HSVhsv(124, 73%, 18%)
CMYKcmyk(73.3%, 0%, 68.9%, 82.4%)
CIE-LABlab(15.42, -19.99, 16.04)
CIE-LCHlch(15.42, 25.63, 141.27°)
OKLaboklab(26.41% -0.0542 0.0388)
OKLCHoklch(26.41% 0.067 144.4)
XYZxyz(1.1692, 1.9865, 0.7372)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D0E #2D0C2B
analogous
#1A2D0C #0C2D0E #0C2D1E
triadic
#0C2D0E #0E0C2D #2D0E0C
tetradic
#0C2D0E #0C1A2D #2D0C2B #2D1E0C
square
#0C2D0E #0C1A2D #2D0C2B #2D1E0C
split-complementary
#0C2D0E #1E0C2D #2D0C1A
monochromatic
#061808 #061808 #0C2D0E #195D1D #268E2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C2D0E#FFFFFF#000000##FFFFFF
##0C2D0E1.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)
#2E280B
Deuteranopia (green-blind)
#2A2510
Tritanopia (blue-blind)
#062C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d0e;
/* rgb */ color: rgb(12, 45, 14);
/* oklch */ color: oklch(26.4% 0.067 144.4);
Tailwind
colors: {
  custom: {
    50: '#4f664d',
    500: '#0c2d0e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d0e;
$custom-light: #4f664d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d0e",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 14
  },
  "hsl": {
    "h": 123.636,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26412,
    "c": 0.06666,
    "h": 144.4
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#0C2D0E
secondary
#692C65
accent
#47D8E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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