#12391F#12391F

#12391F is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.9% C 0.064 H 151.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#12391F
RGBrgb(18, 57, 31)
HSLhsl(140, 52%, 15%)
HSVhsv(140, 68%, 22%)
CMYKcmyk(68.4%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.65, -20.86, 12.22)
CIE-LCHlch(20.65, 24.18, 149.63°)
OKLaboklab(30.88% -0.0565 0.0304)
OKLCHoklch(30.88% 0.064 151.7)
XYZxyz(1.9598, 3.1536, 1.8015)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12391F #39122C
analogous
#193912 #12391F #123933
triadic
#12391F #1F1239 #391F12
tetradic
#12391F #121939 #39122C #393312
square
#12391F #121939 #39122C #393312
split-complementary
#12391F #331239 #391219
monochromatic
#07170D #07170D #12391F #216838 #2F9652

Accessibility & contrast

On white

12.88
#12391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12391F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12391F#FFFFFF#000000##FFFFFF
##12391F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12391f;
/* rgb */ color: rgb(18, 57, 31);
/* oklch */ color: oklch(30.9% 0.064 151.7);
Tailwind
colors: {
  custom: {
    50: '#54705b',
    500: '#12391f',
    950: '#000000',
  },
}
SCSS
$custom: #12391f;
$custom-light: #54705b;
$custom-dark: #000000;
JSON
{
  "hex": "#12391f",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 140,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.30878,
    "c": 0.06415,
    "h": 151.7
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#12391F
secondary
#72355E
accent
#4CACDB
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #12391F

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

Preview Lab → · Contrast checker → · Palette generator →

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