#0C3E08#0C3E08

#0C3E08 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.9% C 0.097 H 142.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#0C3E08
RGBrgb(12, 62, 8)
HSLhsl(116, 77%, 14%)
HSVhsv(116, 87%, 24%)
CMYKcmyk(80.6%, 0%, 87.1%, 75.7%)
CIE-LABlab(22.09, -28.06, 26.47)
CIE-LCHlch(22.09, 38.58, 136.67°)
OKLaboklab(31.92% -0.0764 0.0597)
OKLCHoklch(31.92% 0.097 142)
XYZxyz(1.9180, 3.5407, 0.8120)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E08 #3A083E
analogous
#273E08 #0C3E08 #083E1F
triadic
#0C3E08 #080C3E #3E080C
tetradic
#0C3E08 #08273E #3A083E #3E1F08
square
#0C3E08 #08273E #3A083E #3E1F08
split-complementary
#0C3E08 #1F083E #3E0827
monochromatic
#051B03 #051B03 #0C3E08 #16740F #21AA16

Accessibility & contrast

On white

12.29
#0C3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0C3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E08
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E08#FFFFFF#000000##FFFFFF
##0C3E081.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403701
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#023C34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3e08;
/* rgb */ color: rgb(12, 62, 8);
/* oklch */ color: oklch(31.9% 0.097 142.0);
Tailwind
colors: {
  custom: {
    50: '#54744c',
    500: '#0c3e08',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e08;
$custom-light: #54744c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e08",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 115.556,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.09696,
    "h": 142
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#0C3E08
secondary
#76257D
accent
#34F4E5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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