#0C3B05#0C3B05

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

Color values

HEX#0C3B05
RGBrgb(12, 59, 5)
HSLhsl(112, 84%, 13%)
HSVhsv(112, 92%, 23%)
CMYKcmyk(79.7%, 0%, 91.5%, 76.9%)
CIE-LABlab(20.89, -27.17, 26.40)
CIE-LCHlch(20.89, 37.88, 135.82°)
OKLaboklab(30.91% -0.0742 0.0597)
OKLCHoklch(30.91% 0.095 141.2)
XYZxyz(1.7429, 3.2169, 0.6726)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B05 #34053B
analogous
#273B05 #0C3B05 #053B19
triadic
#0C3B05 #050C3B #3B050C
tetradic
#0C3B05 #05273B #34053B #3B1905
square
#0C3B05 #05273B #34053B #3B1905
split-complementary
#0C3B05 #19053B #3B0527
monochromatic
#061C02 #061C02 #0C3B05 #17730A #23AC0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3B05#FFFFFF#000000##FFFFFF
##0C3B051.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)
#37310B
Tritanopia (blue-blind)
#033931
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3b05;
/* rgb */ color: rgb(12, 59, 5);
/* oklch */ color: oklch(30.9% 0.095 141.2);
Tailwind
colors: {
  custom: {
    50: '#54714a',
    500: '#0c3b05',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b05;
$custom-light: #54714a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b05",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 112.222,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30914,
    "c": 0.09525,
    "h": 141.2
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#0C3B05
secondary
#70207C
accent
#2DFBE0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3B05

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

Preview Lab → · Contrast checker → · Palette generator →

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