#0C260C#0C260C

#0C260C is a very dark, muted green. Relative luminance 0.015; OKLCH L 24.0% C 0.057 H 143.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#0C260C
RGBrgb(12, 38, 12)
HSLhsl(120, 52%, 10%)
HSVhsv(120, 68%, 15%)
CMYKcmyk(68.4%, 0%, 68.4%, 85.1%)
CIE-LABlab(12.55, -16.85, 13.23)
CIE-LCHlch(12.55, 21.43, 141.85°)
OKLaboklab(24.04% -0.0458 0.0338)
OKLCHoklch(24.04% 0.057 143.5)
XYZxyz(0.9110, 1.4909, 0.5875)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C260C #260C26
analogous
#19260C #0C260C #0C2619
triadic
#0C260C #0C0C26 #260C0C
tetradic
#0C260C #0C1926 #260C26 #26190C
square
#0C260C #0C1926 #260C26 #26190C
split-complementary
#0C260C #190C26 #260C19
monochromatic
#071707 #071707 #0C260C #1B551B #298329

Accessibility & contrast

On white

16.18
#0C260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0C260C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C260C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C260C#FFFFFF#000000##FFFFFF
##0C260C1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220A
Deuteranopia (green-blind)
#23200E
Tritanopia (blue-blind)
#082520
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0c260c;
/* rgb */ color: rgb(12, 38, 12);
/* oklch */ color: oklch(24.0% 0.057 143.5);
Tailwind
colors: {
  custom: {
    50: '#4d604c',
    500: '#0c260c',
    950: '#000000',
  },
}
SCSS
$custom: #0c260c;
$custom-light: #4d604c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c260c",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 52,
    "l": 9.804
  },
  "oklch": {
    "l": 0.24043,
    "c": 0.05694,
    "h": 143.5
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#0C260C
secondary
#612D61
accent
#4CDBDB
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #0C260C

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

Preview Lab → · Contrast checker → · Palette generator →

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