#0C3B06#0C3B06

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

Color values

HEX#0C3B06
RGBrgb(12, 59, 6)
HSLhsl(113, 82%, 13%)
HSVhsv(113, 90%, 23%)
CMYKcmyk(79.7%, 0%, 89.8%, 76.9%)
CIE-LABlab(20.90, -27.07, 26.00)
CIE-LCHlch(20.90, 37.53, 136.15°)
OKLaboklab(30.92% -0.0739 0.0589)
OKLCHoklch(30.92% 0.094 141.5)
XYZxyz(1.7484, 3.2191, 0.7015)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B06 #35063B
analogous
#263B06 #0C3B06 #063B1B
triadic
#0C3B06 #060C3B #3B060C
tetradic
#0C3B06 #06263B #35063B #3B1B06
square
#0C3B06 #06263B #35063B #3B1B06
split-complementary
#0C3B06 #1B063B #3B0626
monochromatic
#061C03 #061C03 #0C3B06 #17730C #23AA11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3B06#FFFFFF#000000##FFFFFF
##0C3B061.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)
#3D3500
Deuteranopia (green-blind)
#37310C
Tritanopia (blue-blind)
#033931
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3b06;
/* rgb */ color: rgb(12, 59, 6);
/* oklch */ color: oklch(30.9% 0.094 141.5);
Tailwind
colors: {
  custom: {
    50: '#54714b',
    500: '#0c3b06',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b06;
$custom-light: #54714b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b06",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 113.208,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30923,
    "c": 0.09447,
    "h": 141.5
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#0C3B06
secondary
#71227B
accent
#30F8E1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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