#0C3904#0C3904

#0C3904 is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.093 H 140.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#0C3904
RGBrgb(12, 57, 4)
HSLhsl(111, 87%, 12%)
HSVhsv(111, 93%, 22%)
CMYKcmyk(78.9%, 0%, 93%, 77.6%)
CIE-LABlab(20.10, -26.47, 25.92)
CIE-LCHlch(20.10, 37.05, 135.60°)
OKLaboklab(30.25% -0.0724 0.059)
OKLCHoklch(30.25% 0.093 140.8)
XYZxyz(1.6366, 3.0130, 0.6102)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3904 #310439
analogous
#273904 #0C3904 #043917
triadic
#0C3904 #040C39 #39040C
tetradic
#0C3904 #042739 #310439 #391704
square
#0C3904 #042739 #310439 #391704
split-complementary
#0C3904 #170439 #390427
monochromatic
#061D02 #061D02 #0C3904 #187208 #24AB0C

Accessibility & contrast

On white

13.10
#0C3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C3904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3904
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3904#FFFFFF#000000##FFFFFF
##0C39041.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#362F0A
Tritanopia (blue-blind)
#04372F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3904;
/* rgb */ color: rgb(12, 57, 4);
/* oklch */ color: oklch(30.3% 0.093 140.8);
Tailwind
colors: {
  custom: {
    50: '#537049',
    500: '#0c3904',
    950: '#000000',
  },
}
SCSS
$custom: #0c3904;
$custom-light: #537049;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3904",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 110.943,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.3025,
    "c": 0.09342,
    "h": 140.8
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#0C3904
secondary
#6D1E7B
accent
#2BFDDD
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3904

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

Preview Lab → · Contrast checker → · Palette generator →

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