#12281E#12281E

#12281E is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.5% C 0.034 H 163.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#12281E
RGBrgb(18, 40, 30)
HSLhsl(153, 38%, 11%)
HSVhsv(153, 55%, 16%)
CMYKcmyk(55%, 0%, 25%, 84.3%)
CIE-LABlab(14.06, -11.77, 3.90)
CIE-LCHlch(14.06, 12.40, 161.69°)
OKLaboklab(25.49% -0.0328 0.01)
OKLCHoklch(25.49% 0.034 163)
XYZxyz(1.2425, 1.7398, 1.4984)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12281E #28121C
analogous
#122813 #12281E #122728
triadic
#12281E #1E1228 #281E12
tetradic
#12281E #131228 #28121C #272812
square
#12281E #131228 #28121C #272812
split-complementary
#12281E #281227 #281312
monochromatic
#091510 #091510 #12281E #25523E #387C5D

Accessibility & contrast

On white

15.58
#12281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#12281E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12281E
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12281E#FFFFFF#000000##FFFFFF
##12281E1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#24231F
Tritanopia (blue-blind)
#0C2825
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12281e;
/* rgb */ color: rgb(18, 40, 30);
/* oklch */ color: oklch(25.5% 0.034 163.0);
Tailwind
colors: {
  custom: {
    50: '#516259',
    500: '#12281e',
    950: '#000000',
  },
}
SCSS
$custom: #12281e;
$custom-light: #516259;
$custom-dark: #000000;
JSON
{
  "hex": "#12281e",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 152.727,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25491,
    "c": 0.03426,
    "h": 163
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#12281E
secondary
#5F3749
accent
#5A8FCE
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #12281E

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

Preview Lab → · Contrast checker → · Palette generator →

#12281E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva