#12381C#12381C

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

Color values

HEX#12381C
RGBrgb(18, 56, 28)
HSLhsl(136, 51%, 15%)
HSVhsv(136, 68%, 22%)
CMYKcmyk(67.9%, 0%, 50%, 78%)
CIE-LABlab(20.21, -21.00, 13.57)
CIE-LCHlch(20.21, 25.01, 147.13°)
OKLaboklab(30.5% -0.0568 0.0335)
OKLCHoklch(30.5% 0.066 149.5)
XYZxyz(1.8731, 3.0406, 1.5866)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12381C #38122E
analogous
#1B3812 #12381C #12382F
triadic
#12381C #1C1238 #381C12
tetradic
#12381C #121B38 #38122E #382F12
square
#12381C #121B38 #38122E #382F12
split-complementary
#12381C #2F1238 #38121B
monochromatic
#07170C #07170C #12381C #216633 #30954A

Accessibility & contrast

On white

13.06
#12381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12381C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12381C#FFFFFF#000000##FFFFFF
##12381C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12381c;
/* rgb */ color: rgb(18, 56, 28);
/* oklch */ color: oklch(30.5% 0.066 149.5);
Tailwind
colors: {
  custom: {
    50: '#546f58',
    500: '#12381c',
    950: '#000000',
  },
}
SCSS
$custom: #12381c;
$custom-light: #546f58;
$custom-dark: #000000;
JSON
{
  "hex": "#12381c",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 135.789,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.06595,
    "h": 149.5
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#12381C
secondary
#713561
accent
#4DB5DB
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12381C

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

Preview Lab → · Contrast checker → · Palette generator →

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