#0C2B05#0C2B05

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

Color values

HEX#0C2B05
RGBrgb(12, 43, 5)
HSLhsl(109, 79%, 9%)
HSVhsv(109, 88%, 17%)
CMYKcmyk(72.1%, 0%, 88.4%, 83.1%)
CIE-LABlab(14.49, -20.34, 18.71)
CIE-LCHlch(14.49, 27.64, 137.40°)
OKLaboklab(25.62% -0.0558 0.0468)
OKLCHoklch(25.62% 0.073 140)
XYZxyz(1.0428, 1.8168, 0.4393)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B05 #24052B
analogous
#1F2B05 #0C2B05 #052B11
triadic
#0C2B05 #050C2B #2B050C
tetradic
#0C2B05 #051F2B #24052B #2B1105
square
#0C2B05 #051F2B #24052B #2B1105
split-complementary
#0C2B05 #11052B #2B051F
monochromatic
#081B03 #081B03 #0C2B05 #1B620B #2B9912

Accessibility & contrast

On white

15.40
#0C2B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2B05
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B05#FFFFFF#000000##FFFFFF
##0C2B051.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#082923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2b05;
/* rgb */ color: rgb(12, 43, 5);
/* oklch */ color: oklch(25.6% 0.073 140.0);
Tailwind
colors: {
  custom: {
    50: '#4e6549',
    500: '#0c2b05',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b05;
$custom-light: #4e6549;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b05",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 108.947,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25616,
    "c": 0.07284,
    "h": 140
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#0C2B05
secondary
#5E1F6D
accent
#32F6D2
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2B05

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

Preview Lab → · Contrast checker → · Palette generator →

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