#12400C#12400C

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

Color values

HEX#12400C
RGBrgb(18, 64, 12)
HSLhsl(113, 68%, 15%)
HSVhsv(113, 81%, 25%)
CMYKcmyk(71.9%, 0%, 81.2%, 74.9%)
CIE-LABlab(23.07, -27.03, 25.88)
CIE-LCHlch(23.07, 37.42, 136.25°)
OKLaboklab(32.79% -0.0738 0.0588)
OKLCHoklch(32.79% 0.094 141.5)
XYZxyz(2.1491, 3.8217, 0.9722)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12400C #3A0C40
analogous
#2C400C #12400C #0C4020
triadic
#12400C #0C1240 #400C12
tetradic
#12400C #0C2C40 #3A0C40 #40200C
square
#12400C #0C2C40 #3A0C40 #40200C
split-complementary
#12400C #200C40 #400C2C
monochromatic
#071A05 #071A05 #12400C #207416 #2FA71F

Accessibility & contrast

On white

11.90
#12400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12400C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12400C#FFFFFF#000000##FFFFFF
##12400C1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12400c;
/* rgb */ color: rgb(18, 64, 12);
/* oklch */ color: oklch(32.8% 0.094 141.5);
Tailwind
colors: {
  custom: {
    50: '#57754e',
    500: '#12400c',
    950: '#000000',
  },
}
SCSS
$custom: #12400c;
$custom-light: #57754e;
$custom-dark: #000000;
JSON
{
  "hex": "#12400c",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 113.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32791,
    "c": 0.09434,
    "h": 141.5
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#12400C
secondary
#732C7C
accent
#3DEBD7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #12400C

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

Preview Lab → · Contrast checker → · Palette generator →

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