#0C2D01#0C2D01

#0C2D01 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.2% C 0.080 H 138.6°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#0C2D01
RGBrgb(12, 45, 1)
HSLhsl(105, 96%, 9%)
HSVhsv(105, 98%, 18%)
CMYKcmyk(73.3%, 0%, 97.8%, 82.4%)
CIE-LABlab(15.26, -21.80, 21.32)
CIE-LCHlch(15.26, 30.50, 135.64°)
OKLaboklab(26.23% -0.0602 0.053)
OKLCHoklch(26.23% 0.08 138.6)
XYZxyz(1.0954, 1.9570, 0.3487)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D01 #22012D
analogous
#222D01 #0C2D01 #012D0C
triadic
#0C2D01 #010C2D #2D010C
tetradic
#0C2D01 #01222D #22012D #2D0C01
square
#0C2D01 #01222D #22012D #2D0C01
split-complementary
#0C2D01 #0C012D #2D0122
monochromatic
#081E01 #081E01 #0C2D01 #1C6902 #2CA504

Accessibility & contrast

On white

15.09
#0C2D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D01
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D01#FFFFFF#000000##FFFFFF
##0C2D011.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2505
Tritanopia (blue-blind)
#082B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d01;
/* rgb */ color: rgb(12, 45, 1);
/* oklch */ color: oklch(26.2% 0.080 138.6);
Tailwind
colors: {
  custom: {
    50: '#4f6647',
    500: '#0c2d01',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d01;
$custom-light: #4f6647;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d01",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 105,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26233,
    "c": 0.08026,
    "h": 138.6
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#0C2D01
secondary
#5C1773
accent
#29FFC9
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2D01

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

Preview Lab → · Contrast checker → · Palette generator →

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