#12391C#12391C

#12391C is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.8% C 0.068 H 149.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#12391C
RGBrgb(18, 57, 28)
HSLhsl(135, 52%, 15%)
HSVhsv(135, 68%, 22%)
CMYKcmyk(68.4%, 0%, 50.9%, 77.6%)
CIE-LABlab(20.59, -21.50, 14.07)
CIE-LCHlch(20.59, 25.69, 146.79°)
OKLaboklab(30.81% -0.0581 0.0346)
OKLCHoklch(30.81% 0.068 149.2)
XYZxyz(1.9220, 3.1385, 1.6029)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12391C #39122F
analogous
#1B3912 #12391C #123930
triadic
#12391C #1C1239 #391C12
tetradic
#12391C #121B39 #39122F #393012
square
#12391C #121B39 #39122F #393012
split-complementary
#12391C #301239 #39121B
monochromatic
#07170B #07170B #12391C #216833 #2F964A

Accessibility & contrast

On white

12.90
#12391C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12391C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12391C#FFFFFF#000000##FFFFFF
##12391C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341A
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#083832
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12391c;
/* rgb */ color: rgb(18, 57, 28);
/* oklch */ color: oklch(30.8% 0.068 149.2);
Tailwind
colors: {
  custom: {
    50: '#557058',
    500: '#12391c',
    950: '#000000',
  },
}
SCSS
$custom: #12391c;
$custom-light: #557058;
$custom-dark: #000000;
JSON
{
  "hex": "#12391c",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 28
  },
  "hsl": {
    "h": 135.385,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3081,
    "c": 0.06766,
    "h": 149.2
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#12391C
secondary
#723562
accent
#4CB7DB
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12391C

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

Preview Lab → · Contrast checker → · Palette generator →

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