#12331D#12331D

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

Color values

HEX#12331D
RGBrgb(18, 51, 29)
HSLhsl(140, 48%, 14%)
HSVhsv(140, 65%, 20%)
CMYKcmyk(64.7%, 0%, 43.1%, 80%)
CIE-LABlab(18.30, -18.24, 10.41)
CIE-LCHlch(18.30, 21.01, 150.28°)
OKLaboklab(28.94% -0.0495 0.0261)
OKLCHoklch(28.94% 0.056 152.2)
XYZxyz(1.6549, 2.5848, 1.5739)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12331D #331228
analogous
#173312 #12331D #12332D
triadic
#12331D #1D1233 #331D12
tetradic
#12331D #121733 #331228 #332D12
square
#12331D #121733 #331228 #332D12
split-complementary
#12331D #2D1233 #331217
monochromatic
#08170D #08170D #12331D #226037 #328D50

Accessibility & contrast

On white

13.84
#12331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12331D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12331D#FFFFFF#000000##FFFFFF
##12331D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1C
Deuteranopia (green-blind)
#2F2B1E
Tritanopia (blue-blind)
#09322D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12331d;
/* rgb */ color: rgb(18, 51, 29);
/* oklch */ color: oklch(28.9% 0.056 152.2);
Tailwind
colors: {
  custom: {
    50: '#536b59',
    500: '#12331d',
    950: '#000000',
  },
}
SCSS
$custom: #12331d;
$custom-light: #536b59;
$custom-dark: #000000;
JSON
{
  "hex": "#12331d",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 140,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.05597,
    "h": 152.2
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#12331D
secondary
#6B3559
accent
#50AAD7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #12331D

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

Preview Lab → · Contrast checker → · Palette generator →

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