#12340C#12340C

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

Color values

HEX#12340C
RGBrgb(18, 52, 12)
HSLhsl(111, 63%, 13%)
HSVhsv(111, 77%, 20%)
CMYKcmyk(65.4%, 0%, 76.9%, 79.6%)
CIE-LABlab(18.41, -21.71, 20.73)
CIE-LCHlch(18.41, 30.02, 136.33°)
OKLaboklab(28.94% -0.0594 0.0484)
OKLCHoklch(28.94% 0.077 140.8)
XYZxyz(1.5437, 2.6110, 0.7704)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12340C #2E0C34
analogous
#26340C #12340C #0C341A
triadic
#12340C #0C1234 #340C12
tetradic
#12340C #0C2634 #2E0C34 #341A0C
square
#12340C #0C2634 #2E0C34 #341A0C
split-complementary
#12340C #1A0C34 #340C26
monochromatic
#091906 #091906 #12340C #236617 #349723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12340c;
/* rgb */ color: rgb(18, 52, 12);
/* oklch */ color: oklch(28.9% 0.077 140.8);
Tailwind
colors: {
  custom: {
    50: '#546c4d',
    500: '#12340c',
    950: '#000000',
  },
}
SCSS
$custom: #12340c;
$custom-light: #546c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#12340c",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 111,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28942,
    "c": 0.07661,
    "h": 140.8
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#12340C
secondary
#662C70
accent
#42E6CD
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #12340C

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

Preview Lab → · Contrast checker → · Palette generator →

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