#0C3402#0C3402

#0C3402 is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.6% C 0.089 H 139.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#0C3402
RGBrgb(12, 52, 2)
HSLhsl(108, 93%, 11%)
HSVhsv(108, 96%, 20%)
CMYKcmyk(76.9%, 0%, 96.2%, 79.6%)
CIE-LABlab(18.09, -24.66, 24.41)
CIE-LCHlch(18.09, 34.70, 135.29°)
OKLaboklab(28.58% -0.0678 0.0571)
OKLCHoklch(28.58% 0.089 139.9)
XYZxyz(1.3905, 2.5384, 0.4741)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3402 #2A0234
analogous
#253402 #0C3402 #023411
triadic
#0C3402 #020C34 #34020C
tetradic
#0C3402 #022534 #2A0234 #341102
square
#0C3402 #022534 #2A0234 #341102
split-complementary
#0C3402 #110234 #340225
monochromatic
#071D01 #071D01 #0C3402 #1A6F04 #27AA07

Accessibility & contrast

On white

13.93
#0C3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3402
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3402#FFFFFF#000000##FFFFFF
##0C34021.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#06322B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c3402;
/* rgb */ color: rgb(12, 52, 2);
/* oklch */ color: oklch(28.6% 0.089 139.9);
Tailwind
colors: {
  custom: {
    50: '#516c48',
    500: '#0c3402',
    950: '#000000',
  },
}
SCSS
$custom: #0c3402;
$custom-light: #516c48;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3402",
  "rgb": {
    "r": 12,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 108,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28582,
    "c": 0.08861,
    "h": 139.9
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#0C3402
secondary
#651A78
accent
#29FFD4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020700
muted
#787A77

Preview Lab

Preview with #0C3402

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

Preview Lab → · Contrast checker → · Palette generator →

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