#12140C#12140C

#12140C is a very dark, near-neutral yellow-green. Relative luminance 0.007; OKLCH L 18.6% C 0.016 H 119.4°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#12140C
RGBrgb(18, 20, 12)
HSLhsl(75, 25%, 6%)
HSVhsv(75, 40%, 8%)
CMYKcmyk(10%, 0%, 40%, 92.2%)
CIE-LABlab(5.92, -2.34, 3.85)
CIE-LCHlch(5.92, 4.50, 121.24°)
OKLaboklab(18.61% -0.0078 0.0138)
OKLCHoklch(18.61% 0.016 119.4)
XYZxyz(0.5660, 0.6555, 0.4445)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12140C #0E0C14
analogous
#14120C #12140C #0E140C
triadic
#12140C #0C1214 #140C12
tetradic
#12140C #0C1412 #0E0C14 #140C0E
square
#12140C #0C1412 #0E0C14 #140C0E
split-complementary
#12140C #0C0E14 #120C14
monochromatic
#11130B #11130B #12140C #343A23 #57613A

Accessibility & contrast

On white

18.57
#12140C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#12140C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12140C
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12140C#FFFFFF#000000##FFFFFF
##12140C1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130B
Deuteranopia (green-blind)
#15130C
Tritanopia (blue-blind)
#131312
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #12140c;
/* rgb */ color: rgb(18, 20, 12);
/* oklch */ color: oklch(18.6% 0.016 119.4);
Tailwind
colors: {
  custom: {
    50: '#4f514c',
    500: '#12140c',
    950: '#000000',
  },
}
SCSS
$custom: #12140c;
$custom-light: #4f514c;
$custom-dark: #000000;
JSON
{
  "hex": "#12140c",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 12
  },
  "hsl": {
    "h": 75,
    "s": 25,
    "l": 6.275
  },
  "oklch": {
    "l": 0.1861,
    "c": 0.01587,
    "h": 119.4
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#12140C
secondary
#383349
accent
#66C17D
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020201
muted
#787877

Preview Lab

Preview with #12140C

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

Preview Lab → · Contrast checker → · Palette generator →

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