#12331C#12331C

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

Color values

HEX#12331C
RGBrgb(18, 51, 28)
HSLhsl(138, 48%, 14%)
HSVhsv(138, 65%, 20%)
CMYKcmyk(64.7%, 0%, 45.1%, 80%)
CIE-LABlab(18.28, -18.47, 11.05)
CIE-LCHlch(18.28, 21.52, 149.11°)
OKLaboklab(28.91% -0.0501 0.0276)
OKLCHoklch(28.91% 0.057 151.2)
XYZxyz(1.6428, 2.5799, 1.5098)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12331C #331229
analogous
#183312 #12331C #12332C
triadic
#12331C #1C1233 #331C12
tetradic
#12331C #121833 #331229 #332C12
square
#12331C #121833 #331229 #332C12
split-complementary
#12331C #2C1233 #331218
monochromatic
#08170C #08170C #12331C #226035 #328D4E

Accessibility & contrast

On white

13.85
#12331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12331C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12331C#FFFFFF#000000##FFFFFF
##12331C1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12331c;
/* rgb */ color: rgb(18, 51, 28);
/* oklch */ color: oklch(28.9% 0.057 151.2);
Tailwind
colors: {
  custom: {
    50: '#536b58',
    500: '#12331c',
    950: '#000000',
  },
}
SCSS
$custom: #12331c;
$custom-light: #536b58;
$custom-dark: #000000;
JSON
{
  "hex": "#12331c",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 138.182,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28912,
    "c": 0.05717,
    "h": 151.2
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#12331C
secondary
#6B355B
accent
#50AED7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #12331C

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

Preview Lab → · Contrast checker → · Palette generator →

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