#12302A#12302A

#12302A is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.4% C 0.038 H 178.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#12302A
RGBrgb(18, 48, 42)
HSLhsl(168, 45%, 13%)
HSVhsv(168, 63%, 19%)
CMYKcmyk(62.5%, 0%, 12.5%, 81.2%)
CIE-LABlab(17.50, -13.04, 0.44)
CIE-LCHlch(17.50, 13.05, 178.08°)
OKLaboklab(28.41% -0.0377 0.001)
OKLCHoklch(28.41% 0.038 178.5)
XYZxyz(1.7241, 2.4095, 2.5643)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12302A #301218
analogous
#12301B #12302A #122730
triadic
#12302A #2A1230 #302A12
tetradic
#12302A #1B1230 #301218 #273012
square
#12302A #1B1230 #301218 #273012
split-complementary
#12302A #301227 #301B12
monochromatic
#081613 #081613 #12302A #235D51 #338978

Accessibility & contrast

On white

14.17
#12302A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#12302A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12302A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12302A#FFFFFF#000000##FFFFFF
##12302A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2A
Deuteranopia (green-blind)
#292A2A
Tritanopia (blue-blind)
#04312E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #12302a;
/* rgb */ color: rgb(18, 48, 42);
/* oklch */ color: oklch(28.4% 0.038 178.5);
Tailwind
colors: {
  custom: {
    50: '#536863',
    500: '#12302a',
    950: '#000000',
  },
}
SCSS
$custom: #12302a;
$custom-light: #536863;
$custom-dark: #000000;
JSON
{
  "hex": "#12302a",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 168,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.03774,
    "h": 178.5
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#12302A
secondary
#683640
accent
#536DD5
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #12302A

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

Preview Lab → · Contrast checker → · Palette generator →

#12302A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva