#0C3101#0C3101

#0C3101 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.086 H 139.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0C3101
RGBrgb(12, 49, 1)
HSLhsl(106, 96%, 10%)
HSVhsv(106, 98%, 19%)
CMYKcmyk(75.5%, 0%, 98%, 80.8%)
CIE-LABlab(16.88, -23.52, 23.35)
CIE-LCHlch(16.88, 33.15, 135.21°)
OKLaboklab(27.57% -0.0649 0.0559)
OKLCHoklch(27.57% 0.086 139.2)
XYZxyz(1.2554, 2.2769, 0.4020)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3101 #260131
analogous
#243101 #0C3101 #01310E
triadic
#0C3101 #010C31 #31010C
tetradic
#0C3101 #012431 #260131 #310E01
square
#0C3101 #012431 #260131 #310E01
split-complementary
#0C3101 #0E0131 #310124
monochromatic
#071E01 #071E01 #0C3101 #1B6D02 #29A903

Accessibility & contrast

On white

14.43
#0C3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C3101 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3101
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3101#FFFFFF#000000##FFFFFF
##0C31011.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#2E2905
Tritanopia (blue-blind)
#072F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c3101;
/* rgb */ color: rgb(12, 49, 1);
/* oklch */ color: oklch(27.6% 0.086 139.2);
Tailwind
colors: {
  custom: {
    50: '#506947',
    500: '#0c3101',
    950: '#000000',
  },
}
SCSS
$custom: #0c3101;
$custom-light: #506947;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3101",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 106.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27573,
    "c": 0.08564,
    "h": 139.2
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#0C3101
secondary
#611777
accent
#29FFCE
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C3101

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

Preview Lab → · Contrast checker → · Palette generator →

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