#0C240E#0C240E

#0C240E is a very dark, muted green. Relative luminance 0.014; OKLCH L 23.4% C 0.051 H 145.4°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#0C240E
RGBrgb(12, 36, 14)
HSLhsl(125, 50%, 9%)
HSVhsv(125, 67%, 14%)
CMYKcmyk(66.7%, 0%, 61.1%, 85.9%)
CIE-LABlab(11.77, -15.43, 11.21)
CIE-LCHlch(11.77, 19.07, 144.00°)
OKLaboklab(23.41% -0.0419 0.0289)
OKLCHoklch(23.41% 0.051 145.4)
XYZxyz(0.8617, 1.3716, 0.6347)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C240E #240C22
analogous
#16240C #0C240E #0C241A
triadic
#0C240E #0E0C24 #240E0C
tetradic
#0C240E #0C1624 #240C22 #241A0C
square
#0C240E #0C1624 #240C22 #241A0C
split-complementary
#0C240E #1A0C24 #240C16
monochromatic
#081709 #081709 #0C240E #1B5220 #2B8032

Accessibility & contrast

On white

16.48
#0C240E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0C240E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C240E
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C240E#FFFFFF#000000##FFFFFF
##0C240E1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25200C
Deuteranopia (green-blind)
#211E0F
Tritanopia (blue-blind)
#08231F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c240e;
/* rgb */ color: rgb(12, 36, 14);
/* oklch */ color: oklch(23.4% 0.051 145.4);
Tailwind
colors: {
  custom: {
    50: '#4d5f4d',
    500: '#0c240e',
    950: '#000000',
  },
}
SCSS
$custom: #0c240e;
$custom-light: #4d5f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c240e",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 125,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23411,
    "c": 0.05089,
    "h": 145.4
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#0C240E
secondary
#5E2D5A
accent
#4ECEDA
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #0C240E

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

Preview Lab → · Contrast checker → · Palette generator →

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