#0C2F06#0C2F06

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

Color values

HEX#0C2F06
RGBrgb(12, 47, 6)
HSLhsl(111, 77%, 10%)
HSVhsv(111, 87%, 18%)
CMYKcmyk(74.5%, 0%, 87.2%, 81.6%)
CIE-LABlab(16.13, -22.02, 20.38)
CIE-LCHlch(16.13, 30.00, 137.21°)
OKLaboklab(26.97% -0.0602 0.0491)
OKLCHoklch(26.97% 0.078 140.8)
XYZxyz(1.2009, 2.1242, 0.5190)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F06 #29062F
analogous
#202F06 #0C2F06 #062F15
triadic
#0C2F06 #060C2F #2F060C
tetradic
#0C2F06 #06202F #29062F #2F1506
square
#0C2F06 #06202F #29062F #2F1506
split-complementary
#0C2F06 #15062F #2F0620
monochromatic
#071B03 #071B03 #0C2F06 #1A650D #289C14

Accessibility & contrast

On white

14.74
#0C2F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F06
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F06#FFFFFF#000000##FFFFFF
##0C2F061.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f06;
/* rgb */ color: rgb(12, 47, 6);
/* oklch */ color: oklch(27.0% 0.078 140.8);
Tailwind
colors: {
  custom: {
    50: '#506849',
    500: '#0c2f06',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f06;
$custom-light: #506849;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f06",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 111.22,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26968,
    "c": 0.07773,
    "h": 140.8
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#0C2F06
secondary
#642170
accent
#34F4D8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F06

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

Preview Lab → · Contrast checker → · Palette generator →

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