#12380C#12380C

#12380C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.083 H 141.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#12380C
RGBrgb(18, 56, 12)
HSLhsl(112, 65%, 13%)
HSVhsv(112, 79%, 22%)
CMYKcmyk(67.9%, 0%, 78.6%, 78%)
CIE-LABlab(19.98, -23.55, 22.54)
CIE-LCHlch(19.98, 32.60, 136.26°)
OKLaboklab(30.23% -0.0644 0.052)
OKLCHoklch(30.23% 0.083 141.1)
XYZxyz(1.7299, 2.9833, 0.8324)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12380C #320C38
analogous
#28380C #12380C #0C381C
triadic
#12380C #0C1238 #380C12
tetradic
#12380C #0C2838 #320C38 #381C0C
square
#12380C #0C2838 #320C38 #381C0C
split-complementary
#12380C #1C0C38 #380C28
monochromatic
#081905 #081905 #12380C #226A17 #329D22

Accessibility & contrast

On white

13.15
#12380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#12380C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12380C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12380C#FFFFFF#000000##FFFFFF
##12380C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3206
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#0D362F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #12380c;
/* rgb */ color: rgb(18, 56, 12);
/* oklch */ color: oklch(30.2% 0.083 141.1);
Tailwind
colors: {
  custom: {
    50: '#556f4d',
    500: '#12380c',
    950: '#000000',
  },
}
SCSS
$custom: #12380c;
$custom-light: #556f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#12380c",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 111.818,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30232,
    "c": 0.08274,
    "h": 141.1
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#12380C
secondary
#6A2C74
accent
#40E8D1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #12380C

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

Preview Lab → · Contrast checker → · Palette generator →

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