#0C2D06#0C2D06

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

Color values

HEX#0C2D06
RGBrgb(12, 45, 6)
HSLhsl(111, 76%, 10%)
HSVhsv(111, 87%, 18%)
CMYKcmyk(73.3%, 0%, 86.7%, 82.4%)
CIE-LABlab(15.32, -21.12, 19.36)
CIE-LCHlch(15.32, 28.65, 137.49°)
OKLaboklab(26.3% -0.0578 0.0474)
OKLCHoklch(26.3% 0.075 140.7)
XYZxyz(1.1228, 1.9680, 0.4929)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D06 #27062D
analogous
#202D06 #0C2D06 #062D13
triadic
#0C2D06 #060C2D #2D060C
tetradic
#0C2D06 #06202D #27062D #2D1306
square
#0C2D06 #06202D #27062D #2D1306
split-complementary
#0C2D06 #13062D #2D0620
monochromatic
#071B04 #071B04 #0C2D06 #1A630D #299914

Accessibility & contrast

On white

15.07
#0C2D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D06
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D06#FFFFFF#000000##FFFFFF
##0C2D061.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2802
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#072B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d06;
/* rgb */ color: rgb(12, 45, 6);
/* oklch */ color: oklch(26.3% 0.075 140.7);
Tailwind
colors: {
  custom: {
    50: '#4f6649',
    500: '#0c2d06',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d06;
$custom-light: #4f6649;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d06",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 110.769,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.263,
    "c": 0.07477,
    "h": 140.7
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#0C2D06
secondary
#62216E
accent
#35F3D6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D06

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

Preview Lab → · Contrast checker → · Palette generator →

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