#12400A#12400A

#12400A is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.096 H 141.0°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#12400A
RGBrgb(18, 64, 10)
HSLhsl(111, 73%, 15%)
HSVhsv(111, 84%, 25%)
CMYKcmyk(71.9%, 0%, 84.4%, 74.9%)
CIE-LABlab(23.06, -27.22, 26.72)
CIE-LCHlch(23.06, 38.14, 135.53°)
OKLaboklab(32.77% -0.0744 0.0603)
OKLCHoklch(32.77% 0.096 141)
XYZxyz(2.1375, 3.8171, 0.9112)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12400A #380A40
analogous
#2D400A #12400A #0A401D
triadic
#12400A #0A1240 #400A12
tetradic
#12400A #0A2D40 #380A40 #401D0A
square
#12400A #0A2D40 #380A40 #401D0A
split-complementary
#12400A #1D0A40 #400A2D
monochromatic
#071A04 #071A04 #12400A #217512 #30AA1B

Accessibility & contrast

On white

11.91
#12400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#12400A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12400A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12400A#FFFFFF#000000##FFFFFF
##12400A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423902
Deuteranopia (green-blind)
#3C3610
Tritanopia (blue-blind)
#0A3E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12400a;
/* rgb */ color: rgb(18, 64, 10);
/* oklch */ color: oklch(32.8% 0.096 141.0);
Tailwind
colors: {
  custom: {
    50: '#57754d',
    500: '#12400a',
    950: '#000000',
  },
}
SCSS
$custom: #12400a;
$custom-light: #57754d;
$custom-dark: #000000;
JSON
{
  "hex": "#12400a",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 111.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32773,
    "c": 0.09576,
    "h": 141
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#12400A
secondary
#71297D
accent
#38F0D4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #12400A

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

Preview Lab → · Contrast checker → · Palette generator →

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