#0C2D0B#0C2D0B

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

Color values

HEX#0C2D0B
RGBrgb(12, 45, 11)
HSLhsl(118, 61%, 11%)
HSVhsv(118, 76%, 18%)
CMYKcmyk(73.3%, 0%, 75.6%, 82.4%)
CIE-LABlab(15.38, -20.45, 17.39)
CIE-LCHlch(15.38, 26.84, 139.62°)
OKLaboklab(26.37% -0.0556 0.0422)
OKLCHoklch(26.37% 0.07 142.8)
XYZxyz(1.1503, 1.9790, 0.6379)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D0B #2C0B2D
analogous
#1D2D0B #0C2D0B #0B2D1B
triadic
#0C2D0B #0B0C2D #2D0B0C
tetradic
#0C2D0B #0B1D2D #2C0B2D #2D1B0B
square
#0C2D0B #0B1D2D #2C0B2D #2D1B0B
split-complementary
#0C2D0B #1B0B2D #2D0B1D
monochromatic
#071906 #071906 #0C2D0B #195E17 #268F23

Accessibility & contrast

On white

15.05
#0C2D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D0B
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D0B#FFFFFF#000000##FFFFFF
##0C2D0B1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2807
Deuteranopia (green-blind)
#2A250E
Tritanopia (blue-blind)
#072B26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d0b;
/* rgb */ color: rgb(12, 45, 11);
/* oklch */ color: oklch(26.4% 0.070 142.8);
Tailwind
colors: {
  custom: {
    50: '#4f664c',
    500: '#0c2d0b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d0b;
$custom-light: #4f664c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d0b",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 118.235,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26367,
    "c": 0.06979,
    "h": 142.8
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#0C2D0B
secondary
#672A69
accent
#44E4DF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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