#12331B#12331B

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

Color values

HEX#12331B
RGBrgb(18, 51, 27)
HSLhsl(136, 48%, 14%)
HSVhsv(136, 65%, 20%)
CMYKcmyk(64.7%, 0%, 47.1%, 80%)
CIE-LABlab(18.26, -18.69, 11.68)
CIE-LCHlch(18.26, 22.04, 147.99°)
OKLaboklab(28.89% -0.0506 0.029)
OKLCHoklch(28.89% 0.058 150.2)
XYZxyz(1.6310, 2.5752, 1.4478)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12331B #33122A
analogous
#193312 #12331B #12332B
triadic
#12331B #1B1233 #331B12
tetradic
#12331B #121933 #33122A #332B12
square
#12331B #121933 #33122A #332B12
split-complementary
#12331B #2B1233 #331219
monochromatic
#08170C #08170C #12331B #226033 #328D4B

Accessibility & contrast

On white

13.86
#12331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#12331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12331B
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12331B#FFFFFF#000000##FFFFFF
##12331B1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#2F2B1D
Tritanopia (blue-blind)
#0A322D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12331b;
/* rgb */ color: rgb(18, 51, 27);
/* oklch */ color: oklch(28.9% 0.058 150.2);
Tailwind
colors: {
  custom: {
    50: '#536b57',
    500: '#12331b',
    950: '#000000',
  },
}
SCSS
$custom: #12331b;
$custom-light: #536b57;
$custom-dark: #000000;
JSON
{
  "hex": "#12331b",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 136.364,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28888,
    "c": 0.05837,
    "h": 150.2
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#12331B
secondary
#6B355D
accent
#50B3D7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#030603
muted
#787A78

Preview Lab

Preview with #12331B

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

Preview Lab → · Contrast checker → · Palette generator →

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