#0C3C09#0C3C09

#0C3C09 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.3% C 0.094 H 142.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#0C3C09
RGBrgb(12, 60, 9)
HSLhsl(116, 74%, 14%)
HSVhsv(116, 85%, 24%)
CMYKcmyk(80%, 0%, 85%, 76.5%)
CIE-LABlab(21.32, -27.17, 25.24)
CIE-LCHlch(21.32, 37.08, 137.11°)
OKLaboklab(31.28% -0.0739 0.0573)
OKLCHoklch(31.28% 0.094 142.2)
XYZxyz(1.8167, 3.3294, 0.8053)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C09 #39093C
analogous
#253C09 #0C3C09 #093C1F
triadic
#0C3C09 #090C3C #3C090C
tetradic
#0C3C09 #09253C #39093C #3C1F09
square
#0C3C09 #09253C #39093C #3C1F09
split-complementary
#0C3C09 #1F093C #3C0925
monochromatic
#051B04 #051B04 #0C3C09 #177111 #21A619

Accessibility & contrast

On white

12.61
#0C3C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0C3C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C09
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C09#FFFFFF#000000##FFFFFF
##0C3C091.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3502
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#023A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3c09;
/* rgb */ color: rgb(12, 60, 9);
/* oklch */ color: oklch(31.3% 0.094 142.2);
Tailwind
colors: {
  custom: {
    50: '#54724c',
    500: '#0c3c09',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c09;
$custom-light: #54724c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c09",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 116.471,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.09354,
    "h": 142.2
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#0C3C09
secondary
#75277A
accent
#37F1E6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3C09

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

Preview Lab → · Contrast checker → · Palette generator →

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