#012A18#012A18

#012A18 is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.2% C 0.056 H 159.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#012A18
RGBrgb(1, 42, 24)
HSLhsl(154, 95%, 8%)
HSVhsv(154, 98%, 16%)
CMYKcmyk(97.6%, 0%, 42.9%, 83.5%)
CIE-LABlab(13.99, -19.52, 7.90)
CIE-LCHlch(13.99, 21.06, 157.98°)
OKLaboklab(25.18% -0.0528 0.0199)
OKLCHoklch(25.18% 0.056 159.3)
XYZxyz(1.0052, 1.7282, 1.1446)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A18 #2A0113
analogous
#012A04 #012A18 #01272A
triadic
#012A18 #18012A #2A1801
tetradic
#012A18 #04012A #2A0113 #272A01
square
#012A18 #04012A #2A0113 #272A01
split-complementary
#012A18 #2A0127 #2A0401
monochromatic
#011E11 #011E11 #012A18 #02663A #04A25C

Accessibility & contrast

On white

15.61
#012A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#012A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A18
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A18#FFFFFF#000000##FFFFFF
##012A181.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292617
Deuteranopia (green-blind)
#242219
Tritanopia (blue-blind)
#002A25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #012a18;
/* rgb */ color: rgb(1, 42, 24);
/* oklch */ color: oklch(25.2% 0.056 159.3);
Tailwind
colors: {
  custom: {
    50: '#496454',
    500: '#012a18',
    950: '#000000',
  },
}
SCSS
$custom: #012a18;
$custom-light: #496454;
$custom-dark: #000000;
JSON
{
  "hex": "#012a18",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 153.659,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25184,
    "c": 0.05643,
    "h": 159.3
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#012A18
secondary
#70163E
accent
#2987FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #012A18

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

Preview Lab → · Contrast checker → · Palette generator →

#012A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva