#0C2C01#0C2C01

#0C2C01 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.079 H 138.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#0C2C01
RGBrgb(12, 44, 1)
HSLhsl(105, 96%, 9%)
HSVhsv(105, 98%, 17%)
CMYKcmyk(72.7%, 0%, 97.7%, 82.7%)
CIE-LABlab(14.85, -21.36, 20.80)
CIE-LCHlch(14.85, 29.81, 135.76°)
OKLaboklab(25.9% -0.0591 0.0523)
OKLCHoklch(25.9% 0.079 138.5)
XYZxyz(1.0577, 1.8816, 0.3362)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C01 #21012C
analogous
#222C01 #0C2C01 #012C0C
triadic
#0C2C01 #010C2C #2C010C
tetradic
#0C2C01 #01222C #21012C #2C0C01
square
#0C2C01 #01222C #21012C #2C0C01
split-complementary
#0C2C01 #0C012C #2C0122
monochromatic
#081E01 #081E01 #0C2C01 #1C6802 #2DA404

Accessibility & contrast

On white

15.26
#0C2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C01
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C01#FFFFFF#000000##FFFFFF
##0C2C011.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2A2404
Tritanopia (blue-blind)
#092A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2c01;
/* rgb */ color: rgb(12, 44, 1);
/* oklch */ color: oklch(25.9% 0.079 138.5);
Tailwind
colors: {
  custom: {
    50: '#4f6547',
    500: '#0c2c01',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c01;
$custom-light: #4f6547;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c01",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 104.651,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25897,
    "c": 0.0789,
    "h": 138.5
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#0C2C01
secondary
#5B1772
accent
#29FFC8
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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