#12281A#12281A

#12281A is a dark, muted green. Relative luminance 0.017; OKLCH L 25.4% C 0.039 H 154.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#12281A
RGBrgb(18, 40, 26)
HSLhsl(142, 38%, 11%)
HSVhsv(142, 55%, 16%)
CMYKcmyk(55%, 0%, 35%, 84.3%)
CIE-LABlab(13.95, -12.83, 6.56)
CIE-LCHlch(13.95, 14.41, 152.92°)
OKLaboklab(25.37% -0.0351 0.0167)
OKLCHoklch(25.37% 0.039 154.6)
XYZxyz(1.1946, 1.7207, 1.2463)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12281A #281220
analogous
#152812 #12281A #122825
triadic
#12281A #1A1228 #281A12
tetradic
#12281A #121528 #281220 #282512
square
#12281A #121528 #281220 #282512
split-complementary
#12281A #251228 #281215
monochromatic
#09150E #09150E #12281A #255235 #387C51

Accessibility & contrast

On white

15.62
#12281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#12281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12281A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12281A#FFFFFF#000000##FFFFFF
##12281A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282519
Deuteranopia (green-blind)
#25231B
Tritanopia (blue-blind)
#0D2824
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #12281a;
/* rgb */ color: rgb(18, 40, 26);
/* oklch */ color: oklch(25.4% 0.039 154.6);
Tailwind
colors: {
  custom: {
    50: '#516256',
    500: '#12281a',
    950: '#000000',
  },
}
SCSS
$custom: #12281a;
$custom-light: #516256;
$custom-dark: #000000;
JSON
{
  "hex": "#12281a",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 141.818,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25365,
    "c": 0.03891,
    "h": 154.6
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#12281A
secondary
#5F3750
accent
#5AA4CE
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #12281A

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

Preview Lab → · Contrast checker → · Palette generator →

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