#0C2B01#0C2B01

#0C2B01 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.6% C 0.078 H 138.3°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0C2B01
RGBrgb(12, 43, 1)
HSLhsl(104, 95%, 9%)
HSVhsv(104, 98%, 17%)
CMYKcmyk(72.1%, 0%, 97.7%, 83.1%)
CIE-LABlab(14.45, -20.91, 20.27)
CIE-LCHlch(14.45, 29.13, 135.89°)
OKLaboklab(25.56% -0.0579 0.0516)
OKLCHoklch(25.56% 0.078 138.3)
XYZxyz(1.0209, 1.8080, 0.3239)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B01 #20012B
analogous
#212B01 #0C2B01 #012B0B
triadic
#0C2B01 #010C2B #2B010C
tetradic
#0C2B01 #01212B #20012B #2B0B01
square
#0C2B01 #01212B #20012B #2B0B01
split-complementary
#0C2B01 #0B012B #2B0121
monochromatic
#081E01 #081E01 #0C2B01 #1D6702 #2DA304

Accessibility & contrast

On white

15.42
#0C2B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B01
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B01#FFFFFF#000000##FFFFFF
##0C2B011.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#092923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2b01;
/* rgb */ color: rgb(12, 43, 1);
/* oklch */ color: oklch(25.6% 0.078 138.3);
Tailwind
colors: {
  custom: {
    50: '#4e6547',
    500: '#0c2b01',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b01;
$custom-light: #4e6547;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b01",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 104.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25559,
    "c": 0.07751,
    "h": 138.3
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#0C2B01
secondary
#5A1771
accent
#29FFC7
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #0C2B01

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

Preview Lab → · Contrast checker → · Palette generator →

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