#0C2E01#0C2E01

#0C2E01 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.6% C 0.082 H 138.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#0C2E01
RGBrgb(12, 46, 1)
HSLhsl(105, 96%, 9%)
HSVhsv(105, 98%, 18%)
CMYKcmyk(73.9%, 0%, 97.8%, 82%)
CIE-LABlab(15.67, -22.24, 21.84)
CIE-LCHlch(15.67, 31.17, 135.52°)
OKLaboklab(26.57% -0.0614 0.0538)
OKLCHoklch(26.57% 0.082 138.8)
XYZxyz(1.1340, 2.0342, 0.3616)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E01 #23012E
analogous
#232E01 #0C2E01 #012E0D
triadic
#0C2E01 #010C2E #2E010C
tetradic
#0C2E01 #01232E #23012E #2E0D01
square
#0C2E01 #01232E #23012E #2E0D01
split-complementary
#0C2E01 #0D012E #2E0123
monochromatic
#081E01 #081E01 #0C2E01 #1C6A02 #2BA604

Accessibility & contrast

On white

14.93
#0C2E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E01
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E01#FFFFFF#000000##FFFFFF
##0C2E011.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2605
Tritanopia (blue-blind)
#082C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2e01;
/* rgb */ color: rgb(12, 46, 1);
/* oklch */ color: oklch(26.6% 0.082 138.8);
Tailwind
colors: {
  custom: {
    50: '#4f6747',
    500: '#0c2e01',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e01;
$custom-light: #4f6747;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e01",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 105.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26569,
    "c": 0.08162,
    "h": 138.8
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#0C2E01
secondary
#5D1774
accent
#29FFCB
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2E01

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

Preview Lab → · Contrast checker → · Palette generator →

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