#12401E#12401E

#12401E is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.077 H 148.9°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#12401E
RGBrgb(18, 64, 30)
HSLhsl(136, 56%, 16%)
HSVhsv(136, 72%, 25%)
CMYKcmyk(71.9%, 0%, 53.1%, 74.9%)
CIE-LABlab(23.30, -24.42, 16.28)
CIE-LCHlch(23.30, 29.35, 146.31°)
OKLaboklab(33.05% -0.0659 0.0398)
OKLCHoklch(33.05% 0.077 148.9)
XYZxyz(2.3170, 3.8889, 1.8566)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12401E #401234
analogous
#1D4012 #12401E #124035
triadic
#12401E #1E1240 #401E12
tetradic
#12401E #121D40 #401234 #403512
square
#12401E #121D40 #401234 #403512
split-complementary
#12401E #351240 #40121D
monochromatic
#07180B #07180B #12401E #1F7034 #2DA04B

Accessibility & contrast

On white

11.81
#12401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#12401E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12401E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12401E#FFFFFF#000000##FFFFFF
##12401E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#3B3620
Tritanopia (blue-blind)
#043F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12401e;
/* rgb */ color: rgb(18, 64, 30);
/* oklch */ color: oklch(33.1% 0.077 148.9);
Tailwind
colors: {
  custom: {
    50: '#56755a',
    500: '#12401e',
    950: '#000000',
  },
}
SCSS
$custom: #12401e;
$custom-light: #56755a;
$custom-dark: #000000;
JSON
{
  "hex": "#12401e",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 135.652,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.077,
    "h": 148.9
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#12401E
secondary
#793567
accent
#48B8DF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #12401E

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

Preview Lab → · Contrast checker → · Palette generator →

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