#12340B#12340B

#12340B is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.9% C 0.078 H 140.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#12340B
RGBrgb(18, 52, 11)
HSLhsl(110, 65%, 12%)
HSVhsv(110, 79%, 20%)
CMYKcmyk(65.4%, 0%, 78.8%, 79.6%)
CIE-LABlab(18.40, -21.83, 21.16)
CIE-LCHlch(18.40, 30.40, 135.89°)
OKLaboklab(28.93% -0.0598 0.0493)
OKLCHoklch(28.93% 0.078 140.5)
XYZxyz(1.5378, 2.6086, 0.7390)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12340B #2D0B34
analogous
#27340B #12340B #0B3419
triadic
#12340B #0B1234 #340B12
tetradic
#12340B #0B2734 #2D0B34 #34190B
square
#12340B #0B2734 #2D0B34 #34190B
split-complementary
#12340B #190B34 #340B27
monochromatic
#091905 #091905 #12340B #236716 #359920

Accessibility & contrast

On white

13.80
#12340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12340B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12340B#FFFFFF#000000##FFFFFF
##12340B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F06
Deuteranopia (green-blind)
#312C0F
Tritanopia (blue-blind)
#0E322C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12340b;
/* rgb */ color: rgb(18, 52, 11);
/* oklch */ color: oklch(28.9% 0.078 140.5);
Tailwind
colors: {
  custom: {
    50: '#546c4c',
    500: '#12340b',
    950: '#000000',
  },
}
SCSS
$custom: #12340b;
$custom-light: #546c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#12340b",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 109.756,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.07751,
    "h": 140.5
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#12340B
secondary
#652A71
accent
#40E8CB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #12340B

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

Preview Lab → · Contrast checker → · Palette generator →

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