#0C3B04#0C3B04

#0C3B04 is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.9% C 0.096 H 141.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#0C3B04
RGBrgb(12, 59, 4)
HSLhsl(111, 87%, 12%)
HSVhsv(111, 93%, 23%)
CMYKcmyk(79.7%, 0%, 93.2%, 76.9%)
CIE-LABlab(20.88, -27.27, 26.80)
CIE-LCHlch(20.88, 38.23, 135.50°)
OKLaboklab(30.9% -0.0746 0.0605)
OKLCHoklch(30.9% 0.096 141)
XYZxyz(1.7374, 3.2147, 0.6438)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B04 #33043B
analogous
#273B04 #0C3B04 #043B18
triadic
#0C3B04 #040C3B #3B040C
tetradic
#0C3B04 #04273B #33043B #3B1804
square
#0C3B04 #04273B #33043B #3B1804
split-complementary
#0C3B04 #18043B #3B0427
monochromatic
#061D02 #061D02 #0C3B04 #187408 #23AE0C

Accessibility & contrast

On white

12.78
#0C3B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0C3B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3B04
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3B04#FFFFFF#000000##FFFFFF
##0C3B041.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3b04;
/* rgb */ color: rgb(12, 59, 4);
/* oklch */ color: oklch(30.9% 0.096 141.0);
Tailwind
colors: {
  custom: {
    50: '#54714a',
    500: '#0c3b04',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b04;
$custom-light: #54714a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b04",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 111.273,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30904,
    "c": 0.09604,
    "h": 141
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#0C3B04
secondary
#6F1E7D
accent
#2AFDDF
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3B04

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

Preview Lab → · Contrast checker → · Palette generator →

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