#12331A#12331A

#12331A is a dark, muted green. Relative luminance 0.026; OKLCH L 28.9% C 0.060 H 149.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#12331A
RGBrgb(18, 51, 26)
HSLhsl(135, 48%, 14%)
HSVhsv(135, 65%, 20%)
CMYKcmyk(64.7%, 0%, 49%, 80%)
CIE-LABlab(18.24, -18.90, 12.31)
CIE-LCHlch(18.24, 22.56, 146.93°)
OKLaboklab(28.87% -0.0512 0.0305)
OKLCHoklch(28.87% 0.06 149.3)
XYZxyz(1.6196, 2.5707, 1.3879)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12331A #33122B
analogous
#1A3312 #12331A #12332A
triadic
#12331A #1A1233 #331A12
tetradic
#12331A #121A33 #33122B #332A12
square
#12331A #121A33 #33122B #332A12
split-complementary
#12331A #2A1233 #33121A
monochromatic
#08170C #08170C #12331A #226031 #328D48

Accessibility & contrast

On white

13.87
#12331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#12331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12331A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12331A#FFFFFF#000000##FFFFFF
##12331A1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E18
Deuteranopia (green-blind)
#2F2B1C
Tritanopia (blue-blind)
#0B322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #12331a;
/* rgb */ color: rgb(18, 51, 26);
/* oklch */ color: oklch(28.9% 0.060 149.3);
Tailwind
colors: {
  custom: {
    50: '#536b56',
    500: '#12331a',
    950: '#000000',
  },
}
SCSS
$custom: #12331a;
$custom-light: #536b56;
$custom-dark: #000000;
JSON
{
  "hex": "#12331a",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 134.545,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28865,
    "c": 0.05958,
    "h": 149.3
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#12331A
secondary
#6B355E
accent
#50B7D7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #12331A

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

Preview Lab → · Contrast checker → · Palette generator →

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