#12241A#12241A

#12241A is a very dark, muted green. Relative luminance 0.015; OKLCH L 24.1% C 0.031 H 158.6°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#12241A
RGBrgb(18, 36, 26)
HSLhsl(147, 33%, 11%)
HSVhsv(147, 50%, 14%)
CMYKcmyk(50%, 0%, 27.8%, 85.9%)
CIE-LABlab(12.38, -10.40, 4.38)
CIE-LCHlch(12.38, 11.28, 157.13°)
OKLaboklab(24.1% -0.0288 0.0113)
OKLCHoklch(24.1% 0.031 158.6)
XYZxyz(1.0667, 1.4649, 1.2036)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12241A #24121C
analogous
#132412 #12241A #122423
triadic
#12241A #1A1224 #241A12
tetradic
#12241A #121324 #24121C #242312
square
#12241A #121324 #24121C #242312
split-complementary
#12241A #231224 #241213
monochromatic
#0A140F #0A140F #12241A #264D37 #3B7655

Accessibility & contrast

On white

16.24
#12241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#12241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12241A
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12241A#FFFFFF#000000##FFFFFF
##12241A1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242119
Deuteranopia (green-blind)
#211F1B
Tritanopia (blue-blind)
#0E2421
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #12241a;
/* rgb */ color: rgb(18, 36, 26);
/* oklch */ color: oklch(24.1% 0.031 158.6);
Tailwind
colors: {
  custom: {
    50: '#505e56',
    500: '#12241a',
    950: '#000000',
  },
}
SCSS
$custom: #12241a;
$custom-light: #505e56;
$custom-dark: #000000;
JSON
{
  "hex": "#12241a",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 146.667,
    "s": 33.333,
    "l": 10.588
  },
  "oklch": {
    "l": 0.24097,
    "c": 0.03088,
    "h": 158.6
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#12241A
secondary
#5A384B
accent
#5E9AC9
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020403
muted
#787978

Preview Lab

Preview with #12241A

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

Preview Lab → · Contrast checker → · Palette generator →

#12241A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva