#0C3B09#0C3B09

#0C3B09 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.0% C 0.092 H 142.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#0C3B09
RGBrgb(12, 59, 9)
HSLhsl(116, 74%, 13%)
HSVhsv(116, 85%, 23%)
CMYKcmyk(79.7%, 0%, 84.7%, 76.9%)
CIE-LABlab(20.93, -26.76, 24.81)
CIE-LCHlch(20.93, 36.49, 137.17°)
OKLaboklab(30.95% -0.0728 0.0565)
OKLCHoklch(30.95% 0.092 142.2)
XYZxyz(1.7648, 3.2256, 0.7880)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B09 #38093B
analogous
#253B09 #0C3B09 #093B1F
triadic
#0C3B09 #090C3B #3B090C
tetradic
#0C3B09 #09253B #38093B #3B1F09
square
#0C3B09 #09253B #38093B #3B1F09
split-complementary
#0C3B09 #1F093B #3B0925
monochromatic
#051B04 #051B04 #0C3B09 #177011 #22A519

Accessibility & contrast

On white

12.76
#0C3B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0C3B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3B09
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3B09#FFFFFF#000000##FFFFFF
##0C3B091.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#033931
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3b09;
/* rgb */ color: rgb(12, 59, 9);
/* oklch */ color: oklch(31.0% 0.092 142.2);
Tailwind
colors: {
  custom: {
    50: '#53714c',
    500: '#0c3b09',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b09;
$custom-light: #53714c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b09",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 9
  },
  "hsl": {
    "h": 116.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30952,
    "c": 0.09218,
    "h": 142.2
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#0C3B09
secondary
#742779
accent
#38F0E5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3B09

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

Preview Lab → · Contrast checker → · Palette generator →

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