#0C2900#0C2900

#0C2900 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.9% C 0.076 H 137.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0C2900
RGBrgb(12, 41, 0)
HSLhsl(102, 100%, 8%)
HSVhsv(102, 100%, 16%)
CMYKcmyk(70.7%, 0%, 100%, 83.9%)
CIE-LABlab(13.61, -20.15, 19.59)
CIE-LCHlch(13.61, 28.11, 135.81°)
OKLaboklab(24.87% -0.056 0.0514)
OKLCHoklch(24.87% 0.076 137.5)
XYZxyz(0.9445, 1.6640, 0.2714)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2900 #1D0029
analogous
#202900 #0C2900 #002908
triadic
#0C2900 #000C29 #29000C
tetradic
#0C2900 #002029 #1D0029 #290800
square
#0C2900 #002029 #1D0029 #290800
split-complementary
#0C2900 #080029 #290020
monochromatic
#091F00 #091F00 #0C2900 #1E6600 #30A300

Accessibility & contrast

On white

15.76
#0C2900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C2900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2900
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2900#FFFFFF#000000##FFFFFF
##0C29001.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#0A2721
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c2900;
/* rgb */ color: rgb(12, 41, 0);
/* oklch */ color: oklch(24.9% 0.076 137.5);
Tailwind
colors: {
  custom: {
    50: '#4e6346',
    500: '#0c2900',
    950: '#000000',
  },
}
SCSS
$custom: #0c2900;
$custom-light: #4e6346;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2900",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 102.439,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24868,
    "c": 0.07604,
    "h": 137.5
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#0C2900
secondary
#561471
accent
#29FFC0
background
#F4F5F3
surface
#E7EAE5
border
#C3C6C1
text
#020500
muted
#787977

Preview Lab

Preview with #0C2900

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

Preview Lab → · Contrast checker → · Palette generator →

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