#12401F#12401F

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

Color values

HEX#12401F
RGBrgb(18, 64, 31)
HSLhsl(137, 56%, 16%)
HSVhsv(137, 72%, 25%)
CMYKcmyk(71.9%, 0%, 51.6%, 74.9%)
CIE-LABlab(23.32, -24.23, 15.69)
CIE-LCHlch(23.32, 28.86, 147.07°)
OKLaboklab(33.07% -0.0654 0.0385)
OKLCHoklch(33.07% 0.076 149.5)
XYZxyz(2.3300, 3.8941, 1.9249)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12401F #401233
analogous
#1C4012 #12401F #124036
triadic
#12401F #1F1240 #401F12
tetradic
#12401F #121C40 #401233 #403612
square
#12401F #121C40 #401233 #403612
split-complementary
#12401F #361240 #40121C
monochromatic
#07180C #07180C #12401F #1F7036 #2DA04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12401F#FFFFFF#000000##FFFFFF
##12401F1.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)
#413A1C
Deuteranopia (green-blind)
#3B3621
Tritanopia (blue-blind)
#043F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12401f;
/* rgb */ color: rgb(18, 64, 31);
/* oklch */ color: oklch(33.1% 0.076 149.5);
Tailwind
colors: {
  custom: {
    50: '#56755b',
    500: '#12401f',
    950: '#000000',
  },
}
SCSS
$custom: #12401f;
$custom-light: #56755b;
$custom-dark: #000000;
JSON
{
  "hex": "#12401f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 136.957,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.07588,
    "h": 149.5
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#12401F
secondary
#793566
accent
#48B5DF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #12401F

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

Preview Lab → · Contrast checker → · Palette generator →

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