#0C2E07#0C2E07

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

Color values

HEX#0C2E07
RGBrgb(12, 46, 7)
HSLhsl(112, 74%, 10%)
HSVhsv(112, 85%, 18%)
CMYKcmyk(73.9%, 0%, 84.8%, 82%)
CIE-LABlab(15.73, -21.44, 19.48)
CIE-LCHlch(15.73, 28.97, 137.74°)
OKLaboklab(26.65% -0.0586 0.0472)
OKLCHoklch(26.65% 0.075 141.1)
XYZxyz(1.1669, 2.0474, 0.5347)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E07 #29072E
analogous
#1F2E07 #0C2E07 #072E15
triadic
#0C2E07 #070C2E #2E070C
tetradic
#0C2E07 #071F2E #29072E #2E1507
square
#0C2E07 #071F2E #29072E #2E1507
split-complementary
#0C2E07 #15072E #2E071F
monochromatic
#071B04 #071B04 #0C2E07 #1A630F #289817

Accessibility & contrast

On white

14.90
#0C2E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2E07
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E07#FFFFFF#000000##FFFFFF
##0C2E071.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2903
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#072C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2e07;
/* rgb */ color: rgb(12, 46, 7);
/* oklch */ color: oklch(26.6% 0.075 141.1);
Tailwind
colors: {
  custom: {
    50: '#4f674a',
    500: '#0c2e07',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e07;
$custom-light: #4f674a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e07",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 112.308,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26647,
    "c": 0.07524,
    "h": 141.1
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#0C2E07
secondary
#64236E
accent
#38F0D9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2E07

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

Preview Lab → · Contrast checker → · Palette generator →

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