#0C280C#0C280C

#0C280C is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.7% C 0.060 H 143.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0C280C
RGBrgb(12, 40, 12)
HSLhsl(120, 54%, 10%)
HSVhsv(120, 70%, 16%)
CMYKcmyk(70%, 0%, 70%, 84.3%)
CIE-LABlab(13.36, -17.87, 14.33)
CIE-LCHlch(13.36, 22.90, 141.28°)
OKLaboklab(24.71% -0.0486 0.036)
OKLCHoklch(24.71% 0.06 143.5)
XYZxyz(0.9767, 1.6222, 0.6094)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C280C #280C28
analogous
#1A280C #0C280C #0C281A
triadic
#0C280C #0C0C28 #280C0C
tetradic
#0C280C #0C1A28 #280C28 #281A0C
square
#0C280C #0C1A28 #280C28 #281A0C
split-complementary
#0C280C #1A0C28 #280C1A
monochromatic
#071807 #071807 #0C280C #1A571A #288628

Accessibility & contrast

On white

15.86
#0C280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C280C
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C280C#FFFFFF#000000##FFFFFF
##0C280C1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292409
Deuteranopia (green-blind)
#25210E
Tritanopia (blue-blind)
#082722
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c280c;
/* rgb */ color: rgb(12, 40, 12);
/* oklch */ color: oklch(24.7% 0.060 143.5);
Tailwind
colors: {
  custom: {
    50: '#4e624c',
    500: '#0c280c',
    950: '#000000',
  },
}
SCSS
$custom: #0c280c;
$custom-light: #4e624c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c280c",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.24713,
    "c": 0.06043,
    "h": 143.5
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#0C280C
secondary
#632D63
accent
#4BDDDD
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #0C280C

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

Preview Lab → · Contrast checker → · Palette generator →

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