#0C270E#0C270E

#0C270E is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.4% C 0.056 H 145.0°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#0C270E
RGBrgb(12, 39, 14)
HSLhsl(124, 53%, 10%)
HSVhsv(124, 69%, 15%)
CMYKcmyk(69.2%, 0%, 64.1%, 84.7%)
CIE-LABlab(12.99, -17.01, 12.87)
CIE-LCHlch(12.99, 21.33, 142.90°)
OKLaboklab(24.42% -0.0461 0.0323)
OKLCHoklch(24.42% 0.056 145)
XYZxyz(0.9563, 1.5608, 0.6663)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C270E #270C25
analogous
#18270C #0C270E #0C271B
triadic
#0C270E #0E0C27 #270E0C
tetradic
#0C270E #0C1827 #270C25 #271B0C
square
#0C270E #0C1827 #270C25 #271B0C
split-complementary
#0C270E #1B0C27 #270C18
monochromatic
#071708 #071708 #0C270E #1A561F #298530

Accessibility & contrast

On white

16.00
#0C270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0C270E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C270E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C270E#FFFFFF#000000##FFFFFF
##0C270E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230C
Deuteranopia (green-blind)
#242110
Tritanopia (blue-blind)
#072621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c270e;
/* rgb */ color: rgb(12, 39, 14);
/* oklch */ color: oklch(24.4% 0.056 145.0);
Tailwind
colors: {
  custom: {
    50: '#4d614d',
    500: '#0c270e',
    950: '#000000',
  },
}
SCSS
$custom: #0c270e;
$custom-light: #4d614d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c270e",
  "rgb": {
    "r": 12,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 124.444,
    "s": 52.941,
    "l": 10
  },
  "oklch": {
    "l": 0.24415,
    "c": 0.05635,
    "h": 145
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#0C270E
secondary
#622D5E
accent
#4BD2DC
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #0C270E

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

Preview Lab → · Contrast checker → · Palette generator →

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