#12381D#12381D

#12381D is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.5% C 0.065 H 150.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#12381D
RGBrgb(18, 56, 29)
HSLhsl(137, 51%, 15%)
HSVhsv(137, 68%, 22%)
CMYKcmyk(67.9%, 0%, 48.2%, 78%)
CIE-LABlab(20.23, -20.80, 12.96)
CIE-LCHlch(20.23, 24.50, 148.07°)
OKLaboklab(30.52% -0.0563 0.0321)
OKLCHoklch(30.52% 0.065 150.3)
XYZxyz(1.8853, 3.0455, 1.6506)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12381D #38122D
analogous
#1A3812 #12381D #123830
triadic
#12381D #1D1238 #381D12
tetradic
#12381D #121A38 #38122D #383012
square
#12381D #121A38 #38122D #383012
split-complementary
#12381D #301238 #38121A
monochromatic
#07170C #07170C #12381D #216635 #30954D

Accessibility & contrast

On white

13.05
#12381D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12381D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12381D#FFFFFF#000000##FFFFFF
##12381D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#083731
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #12381d;
/* rgb */ color: rgb(18, 56, 29);
/* oklch */ color: oklch(30.5% 0.065 150.3);
Tailwind
colors: {
  custom: {
    50: '#546f59',
    500: '#12381d',
    950: '#000000',
  },
}
SCSS
$custom: #12381d;
$custom-light: #546f59;
$custom-dark: #000000;
JSON
{
  "hex": "#12381d",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 29
  },
  "hsl": {
    "h": 137.368,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30517,
    "c": 0.06477,
    "h": 150.3
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#12381D
secondary
#71355F
accent
#4DB2DB
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12381D

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

Preview Lab → · Contrast checker → · Palette generator →

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