#0C3207#0C3207

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

Color values

HEX#0C3207
RGBrgb(12, 50, 7)
HSLhsl(113, 75%, 11%)
HSVhsv(113, 86%, 20%)
CMYKcmyk(76%, 0%, 86%, 80.4%)
CIE-LABlab(17.34, -23.21, 21.47)
CIE-LCHlch(17.34, 31.62, 137.23°)
OKLaboklab(27.98% -0.0634 0.0507)
OKLCHoklch(27.98% 0.081 141.4)
XYZxyz(1.3305, 2.3746, 0.5892)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3207 #2D0732
analogous
#213207 #0C3207 #073217
triadic
#0C3207 #070C32 #32070C
tetradic
#0C3207 #072132 #2D0732 #321707
square
#0C3207 #072132 #2D0732 #321707
split-complementary
#0C3207 #170732 #320721
monochromatic
#061B04 #061B04 #0C3207 #19680F #269D16

Accessibility & contrast

On white

14.24
#0C3207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3207
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3207#FFFFFF#000000##FFFFFF
##0C32071.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3207;
/* rgb */ color: rgb(12, 50, 7);
/* oklch */ color: oklch(28.0% 0.081 141.4);
Tailwind
colors: {
  custom: {
    50: '#516a4a',
    500: '#0c3207',
    950: '#000000',
  },
}
SCSS
$custom: #0c3207;
$custom-light: #516a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3207",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 7
  },
  "hsl": {
    "h": 113.023,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27977,
    "c": 0.08115,
    "h": 141.4
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#0C3207
secondary
#692372
accent
#36F2DC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3207

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

Preview Lab → · Contrast checker → · Palette generator →

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