#12331E#12331E

#12331E is a dark, muted green. Relative luminance 0.026; OKLCH L 29.0% C 0.055 H 153.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#12331E
RGBrgb(18, 51, 30)
HSLhsl(142, 48%, 14%)
HSVhsv(142, 65%, 20%)
CMYKcmyk(64.7%, 0%, 41.2%, 80%)
CIE-LABlab(18.32, -18.01, 9.78)
CIE-LCHlch(18.32, 20.49, 151.50°)
OKLaboklab(28.96% -0.0489 0.0246)
OKLCHoklch(28.96% 0.055 153.3)
XYZxyz(1.6675, 2.5898, 1.6401)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12331E #331227
analogous
#163312 #12331E #12332E
triadic
#12331E #1E1233 #331E12
tetradic
#12331E #121633 #331227 #332E12
square
#12331E #121633 #331227 #332E12
split-complementary
#12331E #2E1233 #331216
monochromatic
#08170D #08170D #12331E #226039 #328D53

Accessibility & contrast

On white

13.83
#12331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12331E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12331E#FFFFFF#000000##FFFFFF
##12331E1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#09322E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12331e;
/* rgb */ color: rgb(18, 51, 30);
/* oklch */ color: oklch(29.0% 0.055 153.3);
Tailwind
colors: {
  custom: {
    50: '#536b59',
    500: '#12331e',
    950: '#000000',
  },
}
SCSS
$custom: #12331e;
$custom-light: #536b59;
$custom-dark: #000000;
JSON
{
  "hex": "#12331e",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 141.818,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28962,
    "c": 0.05477,
    "h": 153.3
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#12331E
secondary
#6B3558
accent
#50A6D7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #12331E

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

Preview Lab → · Contrast checker → · Palette generator →

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