#0C3B07#0C3B07

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

Color values

HEX#0C3B07
RGBrgb(12, 59, 7)
HSLhsl(114, 79%, 13%)
HSVhsv(114, 88%, 23%)
CMYKcmyk(79.7%, 0%, 88.1%, 76.9%)
CIE-LABlab(20.91, -26.97, 25.60)
CIE-LCHlch(20.91, 37.18, 136.48°)
OKLaboklab(30.93% -0.0735 0.0581)
OKLCHoklch(30.93% 0.094 141.7)
XYZxyz(1.7538, 3.2212, 0.7303)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B07 #36073B
analogous
#263B07 #0C3B07 #073B1C
triadic
#0C3B07 #070C3B #3B070C
tetradic
#0C3B07 #07263B #36073B #3B1C07
square
#0C3B07 #07263B #36073B #3B1C07
split-complementary
#0C3B07 #1C073B #3B0726
monochromatic
#061B03 #061B03 #0C3B07 #17720D #22A814

Accessibility & contrast

On white

12.77
#0C3B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3B07
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3B07#FFFFFF#000000##FFFFFF
##0C3B071.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3b07;
/* rgb */ color: rgb(12, 59, 7);
/* oklch */ color: oklch(30.9% 0.094 141.7);
Tailwind
colors: {
  custom: {
    50: '#54714b',
    500: '#0c3b07',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b07;
$custom-light: #54714b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b07",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 114.231,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.09369,
    "h": 141.7
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#0C3B07
secondary
#72237A
accent
#33F5E3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3B07

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

Preview Lab → · Contrast checker → · Palette generator →

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