#12340E#12340E

#12340E is a dark, moderate green. Relative luminance 0.026; OKLCH L 29.0% C 0.075 H 141.6°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#12340E
RGBrgb(18, 52, 14)
HSLhsl(114, 58%, 13%)
HSVhsv(114, 73%, 20%)
CMYKcmyk(65.4%, 0%, 73.1%, 79.6%)
CIE-LABlab(18.44, -21.46, 19.80)
CIE-LCHlch(18.44, 29.19, 137.31°)
OKLaboklab(28.97% -0.0586 0.0464)
OKLCHoklch(28.97% 0.075 141.6)
XYZxyz(1.5566, 2.6162, 0.8383)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12340E #300E34
analogous
#25340E #12340E #0E341D
triadic
#12340E #0E1234 #340E12
tetradic
#12340E #0E2534 #300E34 #341D0E
square
#12340E #0E2534 #300E34 #341D0E
split-complementary
#12340E #1D0E34 #340E25
monochromatic
#081806 #081806 #12340E #23641B #339428

Accessibility & contrast

On white

13.79
#12340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12340E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12340E#FFFFFF#000000##FFFFFF
##12340E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0A
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#0D322C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12340e;
/* rgb */ color: rgb(18, 52, 14);
/* oklch */ color: oklch(29.0% 0.075 141.6);
Tailwind
colors: {
  custom: {
    50: '#546c4e',
    500: '#12340e',
    950: '#000000',
  },
}
SCSS
$custom: #12340e;
$custom-light: #546c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#12340e",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 113.684,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28968,
    "c": 0.07472,
    "h": 141.6
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#12340E
secondary
#682F6F
accent
#47E1D1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #12340E

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

Preview Lab → · Contrast checker → · Palette generator →

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