#12261A#12261A

#12261A is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.7% C 0.035 H 156.4°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#12261A
RGBrgb(18, 38, 26)
HSLhsl(144, 36%, 11%)
HSVhsv(144, 53%, 15%)
CMYKcmyk(52.6%, 0%, 31.6%, 85.1%)
CIE-LABlab(13.16, -11.63, 5.48)
CIE-LCHlch(13.16, 12.86, 154.78°)
OKLaboklab(24.73% -0.032 0.014)
OKLCHoklch(24.73% 0.035 156.4)
XYZxyz(1.1289, 1.5893, 1.2244)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12261A #26121E
analogous
#142612 #12261A #122624
triadic
#12261A #1A1226 #261A12
tetradic
#12261A #121426 #26121E #262412
square
#12261A #121426 #26121E #262412
split-complementary
#12261A #241226 #261214
monochromatic
#0A150E #0A150E #12261A #265036 #397953

Accessibility & contrast

On white

15.94
#12261A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12261A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12261A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12261A#FFFFFF#000000##FFFFFF
##12261A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#23211B
Tritanopia (blue-blind)
#0E2623
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12261a;
/* rgb */ color: rgb(18, 38, 26);
/* oklch */ color: oklch(24.7% 0.035 156.4);
Tailwind
colors: {
  custom: {
    50: '#516056',
    500: '#12261a',
    950: '#000000',
  },
}
SCSS
$custom: #12261a;
$custom-light: #516056;
$custom-dark: #000000;
JSON
{
  "hex": "#12261a",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 26
  },
  "hsl": {
    "h": 144,
    "s": 35.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2473,
    "c": 0.03492,
    "h": 156.4
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#12261A
secondary
#5C374E
accent
#5C9FCC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #12261A

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

Preview Lab → · Contrast checker → · Palette generator →

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