#12240E#12240E

#12240E is a very dark, muted green. Relative luminance 0.014; OKLCH L 23.8% C 0.047 H 140.0°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#12240E
RGBrgb(18, 36, 14)
HSLhsl(109, 44%, 10%)
HSVhsv(109, 61%, 14%)
CMYKcmyk(50%, 0%, 61.1%, 85.9%)
CIE-LABlab(12.10, -13.07, 11.72)
CIE-LCHlch(12.10, 17.56, 138.11°)
OKLaboklab(23.78% -0.0357 0.03)
OKLCHoklch(23.78% 0.047 140)
XYZxyz(0.9596, 1.4220, 0.6393)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12240E #200E24
analogous
#1D240E #12240E #0E2415
triadic
#12240E #0E1224 #240E12
tetradic
#12240E #0E1D24 #200E24 #24150E
square
#12240E #0E1D24 #200E24 #24150E
split-complementary
#12240E #150E24 #240E1D
monochromatic
#0B1609 #0B1609 #12240E #28501F #3E7C30

Accessibility & contrast

On white

16.35
#12240E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#12240E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12240E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12240E#FFFFFF#000000##FFFFFF
##12240E1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210C
Deuteranopia (green-blind)
#231F0F
Tritanopia (blue-blind)
#11231F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #12240e;
/* rgb */ color: rgb(18, 36, 14);
/* oklch */ color: oklch(23.8% 0.047 140.0);
Tailwind
colors: {
  custom: {
    50: '#505e4d',
    500: '#12240e',
    950: '#000000',
  },
}
SCSS
$custom: #12240e;
$custom-light: #505e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#12240e",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 109.091,
    "s": 44,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23778,
    "c": 0.04668,
    "h": 140
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#12240E
secondary
#55315D
accent
#54D4BD
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #12240E

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

Preview Lab → · Contrast checker → · Palette generator →

#12240E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva