#0C2B09#0C2B09

#0C2B09 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.069 H 141.9°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#0C2B09
RGBrgb(12, 43, 9)
HSLhsl(115, 65%, 10%)
HSVhsv(115, 79%, 17%)
CMYKcmyk(72.1%, 0%, 79.1%, 83.1%)
CIE-LABlab(14.54, -19.78, 17.14)
CIE-LCHlch(14.54, 26.17, 139.08°)
OKLaboklab(25.67% -0.0539 0.0423)
OKLCHoklch(25.67% 0.069 141.9)
XYZxyz(1.0647, 1.8255, 0.5546)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B09 #28092B
analogous
#1D2B09 #0C2B09 #092B17
triadic
#0C2B09 #090C2B #2B090C
tetradic
#0C2B09 #091D2B #28092B #2B1709
square
#0C2B09 #091D2B #28092B #2B1709
split-complementary
#0C2B09 #17092B #2B091D
monochromatic
#071905 #071905 #0C2B09 #1A5E14 #28901E

Accessibility & contrast

On white

15.38
#0C2B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C2B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B09
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B09#FFFFFF#000000##FFFFFF
##0C2B091.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#28240C
Tritanopia (blue-blind)
#072924
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2b09;
/* rgb */ color: rgb(12, 43, 9);
/* oklch */ color: oklch(25.7% 0.069 141.9);
Tailwind
colors: {
  custom: {
    50: '#4e654b',
    500: '#0c2b09',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b09;
$custom-light: #4e654b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b09",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 9
  },
  "hsl": {
    "h": 114.706,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25672,
    "c": 0.06856,
    "h": 141.9
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#0C2B09
secondary
#632769
accent
#3FE8D9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2B09

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

Preview Lab → · Contrast checker → · Palette generator →

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