#12340A#12340A

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

Color values

HEX#12340A
RGBrgb(18, 52, 10)
HSLhsl(109, 68%, 12%)
HSVhsv(109, 81%, 20%)
CMYKcmyk(65.4%, 0%, 80.8%, 79.6%)
CIE-LABlab(18.39, -21.94, 21.57)
CIE-LCHlch(18.39, 30.76, 135.49°)
OKLaboklab(28.92% -0.0602 0.0502)
OKLCHoklch(28.92% 0.078 140.1)
XYZxyz(1.5322, 2.6064, 0.7094)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12340A #2C0A34
analogous
#27340A #12340A #0A3417
triadic
#12340A #0A1234 #340A12
tetradic
#12340A #0A2734 #2C0A34 #34170A
square
#12340A #0A2734 #2C0A34 #34170A
split-complementary
#12340A #170A34 #340A27
monochromatic
#091A05 #091A05 #12340A #246714 #369B1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12340A#FFFFFF#000000##FFFFFF
##12340A1.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)
#362F05
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#0E322C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12340a;
/* rgb */ color: rgb(18, 52, 10);
/* oklch */ color: oklch(28.9% 0.078 140.1);
Tailwind
colors: {
  custom: {
    50: '#546c4c',
    500: '#12340a',
    950: '#000000',
  },
}
SCSS
$custom: #12340a;
$custom-light: #546c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#12340a",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 108.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.07837,
    "h": 140.1
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#12340A
secondary
#632871
accent
#3DEBCA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #12340A

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

Preview Lab → · Contrast checker → · Palette generator →

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