#0C2F01#0C2F01

#0C2F01 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.083 H 139.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#0C2F01
RGBrgb(12, 47, 1)
HSLhsl(106, 96%, 9%)
HSVhsv(106, 98%, 18%)
CMYKcmyk(74.5%, 0%, 97.9%, 81.6%)
CIE-LABlab(16.07, -22.67, 22.35)
CIE-LCHlch(16.07, 31.83, 135.41°)
OKLaboklab(26.9% -0.0626 0.0545)
OKLCHoklch(26.9% 0.083 139)
XYZxyz(1.1736, 2.1133, 0.3748)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F01 #24012F
analogous
#232F01 #0C2F01 #012F0D
triadic
#0C2F01 #010C2F #2F010C
tetradic
#0C2F01 #01232F #24012F #2F0D01
square
#0C2F01 #01232F #24012F #2F0D01
split-complementary
#0C2F01 #0D012F #2F0123
monochromatic
#081E01 #081E01 #0C2F01 #1B6B02 #2BA704

Accessibility & contrast

On white

14.76
#0C2F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F01
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F01#FFFFFF#000000##FFFFFF
##0C2F011.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2D2705
Tritanopia (blue-blind)
#082D26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f01;
/* rgb */ color: rgb(12, 47, 1);
/* oklch */ color: oklch(26.9% 0.083 139.0);
Tailwind
colors: {
  custom: {
    50: '#506847',
    500: '#0c2f01',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f01;
$custom-light: #506847;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f01",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 105.652,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26904,
    "c": 0.08298,
    "h": 139
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#0C2F01
secondary
#5E1775
accent
#29FFCC
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2F01

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

Preview Lab → · Contrast checker → · Palette generator →

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