#0C2F07#0C2F07

#0C2F07 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.077 H 141.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0C2F07
RGBrgb(12, 47, 7)
HSLhsl(113, 74%, 11%)
HSVhsv(113, 85%, 18%)
CMYKcmyk(74.5%, 0%, 85.1%, 81.6%)
CIE-LABlab(16.14, -21.89, 19.99)
CIE-LCHlch(16.14, 29.64, 137.60°)
OKLaboklab(26.98% -0.0598 0.0481)
OKLCHoklch(26.98% 0.077 141.2)
XYZxyz(1.2064, 2.1264, 0.5478)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F07 #2A072F
analogous
#202F07 #0C2F07 #072F16
triadic
#0C2F07 #070C2F #2F070C
tetradic
#0C2F07 #07202F #2A072F #2F1607
square
#0C2F07 #07202F #2A072F #2F1607
split-complementary
#0C2F07 #16072F #2F0720
monochromatic
#071B04 #071B04 #0C2F07 #1A640F #279A17

Accessibility & contrast

On white

14.73
#0C2F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F07
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F07#FFFFFF#000000##FFFFFF
##0C2F071.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#072D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f07;
/* rgb */ color: rgb(12, 47, 7);
/* oklch */ color: oklch(27.0% 0.077 141.2);
Tailwind
colors: {
  custom: {
    50: '#50684a',
    500: '#0c2f07',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f07;
$custom-light: #50684a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f07",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 112.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2698,
    "c": 0.07674,
    "h": 141.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#0C2F07
secondary
#65236F
accent
#37F1DA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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