#0C2802#0C2802

#0C2802 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.6% C 0.072 H 138.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#0C2802
RGBrgb(12, 40, 2)
HSLhsl(104, 90%, 8%)
HSVhsv(104, 95%, 16%)
CMYKcmyk(70%, 0%, 95%, 84.3%)
CIE-LABlab(13.23, -19.39, 18.27)
CIE-LCHlch(13.23, 26.64, 136.70°)
OKLaboklab(24.56% -0.0536 0.048)
OKLCHoklch(24.56% 0.072 138.2)
XYZxyz(0.9213, 1.6001, 0.3177)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2802 #1E0228
analogous
#1F2802 #0C2802 #02280B
triadic
#0C2802 #020C28 #28020C
tetradic
#0C2802 #021F28 #1E0228 #280B02
square
#0C2802 #021F28 #1E0228 #280B02
split-complementary
#0C2802 #0B0228 #28021F
monochromatic
#091D01 #091D01 #0C2802 #1D6205 #2F9D08

Accessibility & contrast

On white

15.91
#0C2802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0C2802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2802
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2802#FFFFFF#000000##FFFFFF
##0C28021.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2300
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#092621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c2802;
/* rgb */ color: rgb(12, 40, 2);
/* oklch */ color: oklch(24.6% 0.072 138.2);
Tailwind
colors: {
  custom: {
    50: '#4d6247',
    500: '#0c2802',
    950: '#000000',
  },
}
SCSS
$custom: #0c2802;
$custom-light: #4d6247;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2802",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 104.211,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24559,
    "c": 0.072,
    "h": 138.2
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#0C2802
secondary
#57196D
accent
#29FFC7
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #0C2802

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

Preview Lab → · Contrast checker → · Palette generator →

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