#12341E#12341E

#12341E is a dark, muted green. Relative luminance 0.027; OKLCH L 29.3% C 0.057 H 152.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#12341E
RGBrgb(18, 52, 30)
HSLhsl(141, 49%, 14%)
HSVhsv(141, 65%, 20%)
CMYKcmyk(65.4%, 0%, 42.3%, 79.6%)
CIE-LABlab(18.71, -18.54, 10.30)
CIE-LCHlch(18.71, 21.20, 150.95°)
OKLaboklab(29.28% -0.0503 0.0258)
OKLCHoklch(29.28% 0.057 152.8)
XYZxyz(1.7117, 2.6782, 1.6548)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12341E #341228
analogous
#173412 #12341E #12342F
triadic
#12341E #1E1234 #341E12
tetradic
#12341E #121734 #341228 #342F12
square
#12341E #121734 #341228 #342F12
split-complementary
#12341E #2F1234 #341217
monochromatic
#08170D #08170D #12341E #226138 #318F52

Accessibility & contrast

On white

13.68
#12341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#12341E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12341E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12341E#FFFFFF#000000##FFFFFF
##12341E1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1D
Deuteranopia (green-blind)
#2F2C1F
Tritanopia (blue-blind)
#09332E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12341e;
/* rgb */ color: rgb(18, 52, 30);
/* oklch */ color: oklch(29.3% 0.057 152.8);
Tailwind
colors: {
  custom: {
    50: '#536c5a',
    500: '#12341e',
    950: '#000000',
  },
}
SCSS
$custom: #12341e;
$custom-light: #536c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#12341e",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 141.176,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29278,
    "c": 0.05657,
    "h": 152.8
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#12341E
secondary
#6C3559
accent
#50A8D8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12341E

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

Preview Lab → · Contrast checker → · Palette generator →

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