#12381E#12381E

#12381E is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.064 H 151.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#12381E
RGBrgb(18, 56, 30)
HSLhsl(139, 51%, 15%)
HSVhsv(139, 68%, 22%)
CMYKcmyk(67.9%, 0%, 46.4%, 78%)
CIE-LABlab(20.25, -20.58, 12.34)
CIE-LCHlch(20.25, 24.00, 149.06°)
OKLaboklab(30.54% -0.0557 0.0307)
OKLCHoklch(30.54% 0.064 151.2)
XYZxyz(1.8978, 3.0505, 1.7168)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12381E #38122C
analogous
#193812 #12381E #123831
triadic
#12381E #1E1238 #381E12
tetradic
#12381E #121938 #38122C #383112
square
#12381E #121938 #38122C #383112
split-complementary
#12381E #311238 #381219
monochromatic
#07170C #07170C #12381E #216637 #309550

Accessibility & contrast

On white

13.04
#12381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#12381E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12381E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12381E#FFFFFF#000000##FFFFFF
##12381E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331C
Deuteranopia (green-blind)
#332F20
Tritanopia (blue-blind)
#073732
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #12381e;
/* rgb */ color: rgb(18, 56, 30);
/* oklch */ color: oklch(30.5% 0.064 151.2);
Tailwind
colors: {
  custom: {
    50: '#546f5a',
    500: '#12381e',
    950: '#000000',
  },
}
SCSS
$custom: #12381e;
$custom-light: #546f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#12381e",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 138.947,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3054,
    "c": 0.0636,
    "h": 151.2
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#12381E
secondary
#71355E
accent
#4DAEDB
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12381E

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

Preview Lab → · Contrast checker → · Palette generator →

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