#12391E#12391E

#12391E is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.9% C 0.065 H 150.8°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#12391E
RGBrgb(18, 57, 30)
HSLhsl(138, 52%, 15%)
HSVhsv(138, 68%, 22%)
CMYKcmyk(68.4%, 0%, 47.4%, 77.6%)
CIE-LABlab(20.63, -21.08, 12.84)
CIE-LCHlch(20.63, 24.68, 148.65°)
OKLaboklab(30.86% -0.057 0.0318)
OKLCHoklch(30.86% 0.065 150.8)
XYZxyz(1.9468, 3.1484, 1.7332)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12391E #39122D
analogous
#193912 #12391E #123932
triadic
#12391E #1E1239 #391E12
tetradic
#12391E #121939 #39122D #393212
square
#12391E #121939 #39122D #393212
split-complementary
#12391E #321239 #391219
monochromatic
#07170C #07170C #12391E #216836 #2F964F

Accessibility & contrast

On white

12.89
#12391E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#12391E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12391E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12391E#FFFFFF#000000##FFFFFF
##12391E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341C
Deuteranopia (green-blind)
#343020
Tritanopia (blue-blind)
#073832
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12391e;
/* rgb */ color: rgb(18, 57, 30);
/* oklch */ color: oklch(30.9% 0.065 150.8);
Tailwind
colors: {
  custom: {
    50: '#55705a',
    500: '#12391e',
    950: '#000000',
  },
}
SCSS
$custom: #12391e;
$custom-light: #55705a;
$custom-dark: #000000;
JSON
{
  "hex": "#12391e",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 30
  },
  "hsl": {
    "h": 138.462,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.30855,
    "c": 0.06532,
    "h": 150.8
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#12391E
secondary
#72355F
accent
#4CAFDB
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12391E

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

Preview Lab → · Contrast checker → · Palette generator →

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