#12281C#12281C

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

Color values

HEX#12281C
RGBrgb(18, 40, 28)
HSLhsl(147, 38%, 11%)
HSVhsv(147, 55%, 16%)
CMYKcmyk(55%, 0%, 30%, 84.3%)
CIE-LABlab(14.00, -12.31, 5.23)
CIE-LCHlch(14.00, 13.38, 156.99°)
OKLaboklab(25.43% -0.034 0.0134)
OKLCHoklch(25.43% 0.037 158.5)
XYZxyz(1.2178, 1.7299, 1.3681)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12281C #28121E
analogous
#132812 #12281C #122827
triadic
#12281C #1C1228 #281C12
tetradic
#12281C #121328 #28121E #282712
square
#12281C #121328 #28121E #282712
split-complementary
#12281C #271228 #281213
monochromatic
#09150F #09150F #12281C #25523A #387C57

Accessibility & contrast

On white

15.60
#12281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12281C
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12281C#FFFFFF#000000##FFFFFF
##12281C1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#24231D
Tritanopia (blue-blind)
#0D2825
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #12281c;
/* rgb */ color: rgb(18, 40, 28);
/* oklch */ color: oklch(25.4% 0.036 158.5);
Tailwind
colors: {
  custom: {
    50: '#516258',
    500: '#12281c',
    950: '#000000',
  },
}
SCSS
$custom: #12281c;
$custom-light: #516258;
$custom-dark: #000000;
JSON
{
  "hex": "#12281c",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 147.273,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25426,
    "c": 0.0365,
    "h": 158.5
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#12281C
secondary
#5F374D
accent
#5A99CE
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020503
muted
#787978

Preview Lab

Preview with #12281C

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

Preview Lab → · Contrast checker → · Palette generator →

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