#12401A#12401A

#12401A is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.081 H 146.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#12401A
RGBrgb(18, 64, 26)
HSLhsl(130, 56%, 16%)
HSVhsv(130, 72%, 25%)
CMYKcmyk(71.9%, 0%, 59.4%, 74.9%)
CIE-LABlab(23.24, -25.15, 18.62)
CIE-LCHlch(23.24, 31.29, 143.49°)
OKLaboklab(32.98% -0.0679 0.0448)
OKLCHoklch(32.98% 0.081 146.6)
XYZxyz(2.2692, 3.8697, 1.6044)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12401A #401238
analogous
#214012 #12401A #124031
triadic
#12401A #1A1240 #401A12
tetradic
#12401A #122140 #401238 #403112
square
#12401A #122140 #401238 #403112
split-complementary
#12401A #311240 #401221
monochromatic
#07180A #07180A #12401A #1F702D #2DA041

Accessibility & contrast

On white

11.84
#12401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#12401A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12401A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12401A#FFFFFF#000000##FFFFFF
##12401A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A17
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#063E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12401a;
/* rgb */ color: rgb(18, 64, 26);
/* oklch */ color: oklch(33.0% 0.081 146.6);
Tailwind
colors: {
  custom: {
    50: '#567557',
    500: '#12401a',
    950: '#000000',
  },
}
SCSS
$custom: #12401a;
$custom-light: #567557;
$custom-dark: #000000;
JSON
{
  "hex": "#12401a",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 130.435,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32978,
    "c": 0.08139,
    "h": 146.6
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#12401A
secondary
#79356D
accent
#48C5DF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #12401A

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

Preview Lab → · Contrast checker → · Palette generator →

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