#0C2A09#0C2A09

#0C2A09 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.3% C 0.067 H 141.8°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0C2A09
RGBrgb(12, 42, 9)
HSLhsl(115, 65%, 10%)
HSVhsv(115, 79%, 16%)
CMYKcmyk(71.4%, 0%, 78.6%, 83.5%)
CIE-LABlab(14.14, -19.30, 16.61)
CIE-LCHlch(14.14, 25.47, 139.28°)
OKLaboklab(25.34% -0.0526 0.0414)
OKLCHoklch(25.34% 0.067 141.8)
XYZxyz(1.0288, 1.7537, 0.5427)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A09 #27092A
analogous
#1D2A09 #0C2A09 #092A16
triadic
#0C2A09 #090C2A #2A090C
tetradic
#0C2A09 #091D2A #27092A #2A1609
square
#0C2A09 #091D2A #27092A #2A1609
split-complementary
#0C2A09 #16092A #2A091D
monochromatic
#071905 #071905 #0C2A09 #1A5C14 #298F1F

Accessibility & contrast

On white

15.55
#0C2A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0C2A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A09
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A09#FFFFFF#000000##FFFFFF
##0C2A091.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2506
Deuteranopia (green-blind)
#27230C
Tritanopia (blue-blind)
#082823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2a09;
/* rgb */ color: rgb(12, 42, 9);
/* oklch */ color: oklch(25.3% 0.067 141.8);
Tailwind
colors: {
  custom: {
    50: '#4e644b',
    500: '#0c2a09',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a09;
$custom-light: #4e644b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a09",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 114.545,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.25337,
    "c": 0.06696,
    "h": 141.8
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#0C2A09
secondary
#622768
accent
#40E8D8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2A09

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

Preview Lab → · Contrast checker → · Palette generator →

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