#0C3C08#0C3C08

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

Color values

HEX#0C3C08
RGBrgb(12, 60, 8)
HSLhsl(115, 76%, 13%)
HSVhsv(115, 87%, 24%)
CMYKcmyk(80%, 0%, 86.7%, 76.5%)
CIE-LABlab(21.31, -27.27, 25.64)
CIE-LCHlch(21.31, 37.42, 136.77°)
OKLaboklab(31.27% -0.0743 0.0581)
OKLCHoklch(31.27% 0.094 142)
XYZxyz(1.8112, 3.3272, 0.7764)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C08 #38083C
analogous
#263C08 #0C3C08 #083C1E
triadic
#0C3C08 #080C3C #3C080C
tetradic
#0C3C08 #08263C #38083C #3C1E08
square
#0C3C08 #08263C #38083C #3C1E08
split-complementary
#0C3C08 #1E083C #3C0826
monochromatic
#051B04 #051B04 #0C3C08 #17720F #22A816

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3C08#FFFFFF#000000##FFFFFF
##0C3C081.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)
#3E3501
Deuteranopia (green-blind)
#38320E
Tritanopia (blue-blind)
#023A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3c08;
/* rgb */ color: rgb(12, 60, 8);
/* oklch */ color: oklch(31.3% 0.094 142.0);
Tailwind
colors: {
  custom: {
    50: '#54724c',
    500: '#0c3c08',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c08;
$custom-light: #54724c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c08",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 115.385,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31268,
    "c": 0.09428,
    "h": 142
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#0C3C08
secondary
#74257B
accent
#35F3E4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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