#0C2F0B#0C2F0B

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

Color values

HEX#0C2F0B
RGBrgb(12, 47, 11)
HSLhsl(118, 62%, 11%)
HSVhsv(118, 77%, 18%)
CMYKcmyk(74.5%, 0%, 76.6%, 81.6%)
CIE-LABlab(16.18, -21.37, 18.40)
CIE-LCHlch(16.18, 28.20, 139.27°)
OKLaboklab(27.03% -0.0581 0.0441)
OKLCHoklch(27.03% 0.073 142.8)
XYZxyz(1.2285, 2.1352, 0.6639)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F0B #2E0B2F
analogous
#1E2F0B #0C2F0B #0B2F1C
triadic
#0C2F0B #0B0C2F #2F0B0C
tetradic
#0C2F0B #0B1E2F #2E0B2F #2F1C0B
square
#0C2F0B #0B1E2F #2E0B2F #2F1C0B
split-complementary
#0C2F0B #1C0B2F #2F0B1E
monochromatic
#061906 #061906 #0C2F0B #196117 #259222

Accessibility & contrast

On white

14.72
#0C2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F0B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F0B#FFFFFF#000000##FFFFFF
##0C2F0B1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2C270E
Tritanopia (blue-blind)
#062D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f0b;
/* rgb */ color: rgb(12, 47, 11);
/* oklch */ color: oklch(27.0% 0.073 142.8);
Tailwind
colors: {
  custom: {
    50: '#50684c',
    500: '#0c2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f0b;
$custom-light: #50684c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f0b",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 118.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27031,
    "c": 0.07295,
    "h": 142.8
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#0C2F0B
secondary
#6A2A6B
accent
#43E5E1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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