#12401C#12401C

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

Color values

HEX#12401C
RGBrgb(18, 64, 28)
HSLhsl(133, 56%, 16%)
HSVhsv(133, 72%, 25%)
CMYKcmyk(71.9%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.27, -24.80, 17.46)
CIE-LCHlch(23.27, 30.33, 144.85°)
OKLaboklab(33.01% -0.0669 0.0423)
OKLCHoklch(33.01% 0.079 147.7)
XYZxyz(2.2923, 3.8790, 1.7263)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12401C #401236
analogous
#1F4012 #12401C #124033
triadic
#12401C #1C1240 #401C12
tetradic
#12401C #121F40 #401236 #403312
square
#12401C #121F40 #401236 #403312
split-complementary
#12401C #331240 #40121F
monochromatic
#07180A #07180A #12401C #1F7031 #2DA046

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12401C#FFFFFF#000000##FFFFFF
##12401C1.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)
#413A19
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#053F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12401c;
/* rgb */ color: rgb(18, 64, 28);
/* oklch */ color: oklch(33.0% 0.079 147.7);
Tailwind
colors: {
  custom: {
    50: '#567559',
    500: '#12401c',
    950: '#000000',
  },
}
SCSS
$custom: #12401c;
$custom-light: #567559;
$custom-dark: #000000;
JSON
{
  "hex": "#12401c",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 133.043,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.07921,
    "h": 147.7
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12401C

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

Preview Lab → · Contrast checker → · Palette generator →

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