#0C280B#0C280B

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

Color values

HEX#0C280B
RGBrgb(12, 40, 11)
HSLhsl(118, 57%, 10%)
HSVhsv(118, 73%, 16%)
CMYKcmyk(70%, 0%, 72.5%, 84.3%)
CIE-LABlab(13.35, -18.03, 14.75)
CIE-LCHlch(13.35, 23.29, 140.71°)
OKLaboklab(24.7% -0.0491 0.0372)
OKLCHoklch(24.7% 0.062 142.9)
XYZxyz(0.9708, 1.6198, 0.5780)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C280B #270B28
analogous
#1B280B #0C280B #0B2818
triadic
#0C280B #0B0C28 #280B0C
tetradic
#0C280B #0B1B28 #270B28 #28180B
square
#0C280B #0B1B28 #270B28 #28180B
split-complementary
#0C280B #180B28 #280B1B
monochromatic
#071807 #071807 #0C280B #1A5818 #298825

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C280B#FFFFFF#000000##FFFFFF
##0C280B1.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)
#292408
Deuteranopia (green-blind)
#25210D
Tritanopia (blue-blind)
#082722
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c280b;
/* rgb */ color: rgb(12, 40, 11);
/* oklch */ color: oklch(24.7% 0.062 142.9);
Tailwind
colors: {
  custom: {
    50: '#4e624c',
    500: '#0c280b',
    950: '#000000',
  },
}
SCSS
$custom: #0c280b;
$custom-light: #4e624c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c280b",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 117.931,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.24697,
    "c": 0.06154,
    "h": 142.9
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#0C280B
secondary
#622B64
accent
#48E0DB
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #0C280B

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

Preview Lab → · Contrast checker → · Palette generator →

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