#12401B#12401B

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

Color values

HEX#12401B
RGBrgb(18, 64, 27)
HSLhsl(132, 56%, 16%)
HSVhsv(132, 72%, 25%)
CMYKcmyk(71.9%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.25, -24.98, 18.04)
CIE-LCHlch(23.25, 30.81, 144.16°)
OKLaboklab(33% -0.0674 0.0436)
OKLCHoklch(33% 0.08 147.1)
XYZxyz(2.2805, 3.8743, 1.6643)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12401B #401237
analogous
#204012 #12401B #124032
triadic
#12401B #1B1240 #401B12
tetradic
#12401B #122040 #401237 #403212
square
#12401B #122040 #401237 #403212
split-complementary
#12401B #321240 #401220
monochromatic
#07180A #07180A #12401B #1F702F #2DA043

Accessibility & contrast

On white

11.83
#12401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12401B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12401B#FFFFFF#000000##FFFFFF
##12401B1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12401b;
/* rgb */ color: rgb(18, 64, 27);
/* oklch */ color: oklch(33.0% 0.080 147.1);
Tailwind
colors: {
  custom: {
    50: '#567558',
    500: '#12401b',
    950: '#000000',
  },
}
SCSS
$custom: #12401b;
$custom-light: #567558;
$custom-dark: #000000;
JSON
{
  "hex": "#12401b",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 131.739,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32996,
    "c": 0.0803,
    "h": 147.1
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#12401B
secondary
#79356C
accent
#48C2DF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #12401B

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

Preview Lab → · Contrast checker → · Palette generator →

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