#0C2E12#0C2E12

#0C2E12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.064 H 146.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#0C2E12
RGBrgb(12, 46, 18)
HSLhsl(131, 59%, 11%)
HSVhsv(131, 74%, 18%)
CMYKcmyk(73.9%, 0%, 60.9%, 82%)
CIE-LABlab(15.88, -19.78, 14.40)
CIE-LCHlch(15.88, 24.46, 143.95°)
OKLaboklab(26.81% -0.0535 0.0349)
OKLCHoklch(26.81% 0.064 146.9)
XYZxyz(1.2377, 2.0757, 0.9076)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E12 #2E0C28
analogous
#172E0C #0C2E12 #0C2E23
triadic
#0C2E12 #120C2E #2E120C
tetradic
#0C2E12 #0C172E #2E0C28 #2E230C
square
#0C2E12 #0C172E #2E0C28 #2E230C
split-complementary
#0C2E12 #230C2E #2E0C17
monochromatic
#061809 #061809 #0C2E12 #195F25 #258F38

Accessibility & contrast

On white

14.84
#0C2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2E12
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E12#FFFFFF#000000##FFFFFF
##0C2E121.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2910
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#052D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2e12;
/* rgb */ color: rgb(12, 46, 18);
/* oklch */ color: oklch(26.8% 0.064 146.9);
Tailwind
colors: {
  custom: {
    50: '#4f6750',
    500: '#0c2e12',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e12;
$custom-light: #4f6750;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e12",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 130.588,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.26814,
    "c": 0.06385,
    "h": 146.9
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#0C2E12
secondary
#6A2C5F
accent
#46C6E2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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