#0C2B07#0C2B07

#0C2B07 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.6% C 0.071 H 140.9°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#0C2B07
RGBrgb(12, 43, 7)
HSLhsl(112, 72%, 10%)
HSVhsv(112, 84%, 17%)
CMYKcmyk(72.1%, 0%, 83.7%, 83.1%)
CIE-LABlab(14.52, -20.06, 17.92)
CIE-LCHlch(14.52, 26.90, 138.21°)
OKLaboklab(25.64% -0.0549 0.0445)
OKLCHoklch(25.64% 0.071 140.9)
XYZxyz(1.0538, 1.8212, 0.4970)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B07 #26072B
analogous
#1E2B07 #0C2B07 #072B14
triadic
#0C2B07 #070C2B #2B070C
tetradic
#0C2B07 #071E2B #26072B #2B1407
square
#0C2B07 #071E2B #26072B #2B1407
split-complementary
#0C2B07 #14072B #2B071E
monochromatic
#071A04 #071A04 #0C2B07 #1B6010 #299418

Accessibility & contrast

On white

15.39
#0C2B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B07
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B07#FFFFFF#000000##FFFFFF
##0C2B071.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#28240A
Tritanopia (blue-blind)
#082924
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2b07;
/* rgb */ color: rgb(12, 43, 7);
/* oklch */ color: oklch(25.6% 0.071 140.9);
Tailwind
colors: {
  custom: {
    50: '#4e654a',
    500: '#0c2b07',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b07;
$custom-light: #4e654a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b07",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 111.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25644,
    "c": 0.07066,
    "h": 140.9
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#0C2B07
secondary
#61236B
accent
#39EFD5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2B07

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

Preview Lab → · Contrast checker → · Palette generator →

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