#12240A#12240A

#12240A is a very dark, muted green. Relative luminance 0.014; OKLCH L 23.7% C 0.052 H 137.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#12240A
RGBrgb(18, 36, 10)
HSLhsl(102, 57%, 9%)
HSVhsv(102, 72%, 14%)
CMYKcmyk(50%, 0%, 72.2%, 85.9%)
CIE-LABlab(12.04, -13.72, 13.46)
CIE-LCHlch(12.04, 19.22, 135.55°)
OKLaboklab(23.71% -0.0378 0.0352)
OKLCHoklch(23.71% 0.052 137.1)
XYZxyz(0.9351, 1.4122, 0.5104)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12240A #1C0A24
analogous
#1F240A #12240A #0A240F
triadic
#12240A #0A1224 #240A12
tetradic
#12240A #0A1F24 #1C0A24 #240F0A
square
#12240A #0A1F24 #1C0A24 #240F0A
split-complementary
#12240A #0F0A24 #240A1F
monochromatic
#0C1807 #0C1807 #12240A #2A5417 #428425

Accessibility & contrast

On white

16.38
#12240A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12240A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12240A#FFFFFF#000000##FFFFFF
##12240A1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252108
Deuteranopia (green-blind)
#231F0C
Tritanopia (blue-blind)
#11221E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #12240a;
/* rgb */ color: rgb(18, 36, 10);
/* oklch */ color: oklch(23.7% 0.052 137.1);
Tailwind
colors: {
  custom: {
    50: '#505f4b',
    500: '#12240a',
    950: '#000000',
  },
}
SCSS
$custom: #12240a;
$custom-light: #505f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#12240a",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 10
  },
  "hsl": {
    "h": 101.538,
    "s": 56.522,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23705,
    "c": 0.05164,
    "h": 137.1
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#12240A
secondary
#4F2A60
accent
#48E0B1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #12240A

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

Preview Lab → · Contrast checker → · Palette generator →

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