#0C3208#0C3208

#0C3208 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.080 H 141.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#0C3208
RGBrgb(12, 50, 8)
HSLhsl(114, 72%, 11%)
HSVhsv(114, 84%, 20%)
CMYKcmyk(76%, 0%, 84%, 80.4%)
CIE-LABlab(17.35, -23.09, 21.08)
CIE-LCHlch(17.35, 31.26, 137.61°)
OKLaboklab(27.99% -0.063 0.0497)
OKLCHoklch(27.99% 0.08 141.7)
XYZxyz(1.3360, 2.3768, 0.6180)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3208 #2E0832
analogous
#213208 #0C3208 #083219
triadic
#0C3208 #080C32 #32080C
tetradic
#0C3208 #082132 #2E0832 #321908
square
#0C3208 #082132 #2E0832 #321908
split-complementary
#0C3208 #190832 #320821
monochromatic
#061A04 #061A04 #0C3208 #196710 #259C19

Accessibility & contrast

On white

14.23
#0C3208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C3208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3208
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3208#FFFFFF#000000##FFFFFF
##0C32081.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D03
Deuteranopia (green-blind)
#2F290C
Tritanopia (blue-blind)
#06302A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3208;
/* rgb */ color: rgb(12, 50, 8);
/* oklch */ color: oklch(28.0% 0.080 141.7);
Tailwind
colors: {
  custom: {
    50: '#516a4b',
    500: '#0c3208',
    950: '#000000',
  },
}
SCSS
$custom: #0c3208;
$custom-light: #516a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3208",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 8
  },
  "hsl": {
    "h": 114.286,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27988,
    "c": 0.08023,
    "h": 141.7
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#0C3208
secondary
#6A2571
accent
#39EFDE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3208

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

Preview Lab → · Contrast checker → · Palette generator →

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