#0C3302#0C3302

#0C3302 is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.2% C 0.087 H 139.8°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#0C3302
RGBrgb(12, 51, 2)
HSLhsl(108, 92%, 10%)
HSVhsv(108, 96%, 20%)
CMYKcmyk(76.5%, 0%, 96.1%, 80%)
CIE-LABlab(17.69, -24.24, 23.93)
CIE-LCHlch(17.69, 34.07, 135.37°)
OKLaboklab(28.25% -0.0666 0.0564)
OKLCHoklch(28.25% 0.087 139.8)
XYZxyz(1.3463, 2.4501, 0.4594)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3302 #290233
analogous
#243302 #0C3302 #023310
triadic
#0C3302 #020C33 #33020C
tetradic
#0C3302 #022433 #290233 #331002
square
#0C3302 #022433 #290233 #331002
split-complementary
#0C3302 #100233 #330224
monochromatic
#071D01 #071D01 #0C3302 #1A6E04 #28A907

Accessibility & contrast

On white

14.09
#0C3302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C3302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3302
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3302#FFFFFF#000000##FFFFFF
##0C33021.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#06312A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3302;
/* rgb */ color: rgb(12, 51, 2);
/* oklch */ color: oklch(28.2% 0.087 139.8);
Tailwind
colors: {
  custom: {
    50: '#516b48',
    500: '#0c3302',
    950: '#000000',
  },
}
SCSS
$custom: #0c3302;
$custom-light: #516b48;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3302",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 107.755,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2825,
    "c": 0.08729,
    "h": 139.8
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#0C3302
secondary
#641A77
accent
#29FFD3
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C3302

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

Preview Lab → · Contrast checker → · Palette generator →

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