#12340F#12340F

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

Color values

HEX#12340F
RGBrgb(18, 52, 15)
HSLhsl(115, 55%, 13%)
HSVhsv(115, 71%, 20%)
CMYKcmyk(65.4%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.45, -21.32, 19.29)
CIE-LCHlch(18.45, 28.75, 137.86°)
OKLaboklab(28.98% -0.0581 0.0454)
OKLCHoklch(28.98% 0.074 142)
XYZxyz(1.5636, 2.6189, 0.8750)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12340F #310F34
analogous
#24340F #12340F #0F341E
triadic
#12340F #0F1234 #340F12
tetradic
#12340F #0F2434 #310F34 #341E0F
square
#12340F #0F2434 #310F34 #341E0F
split-complementary
#12340F #1E0F34 #340F24
monochromatic
#081807 #081807 #12340F #22631D #33932A

Accessibility & contrast

On white

13.78
#12340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12340F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12340F#FFFFFF#000000##FFFFFF
##12340F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12340f;
/* rgb */ color: rgb(18, 52, 15);
/* oklch */ color: oklch(29.0% 0.074 142.0);
Tailwind
colors: {
  custom: {
    50: '#546c4f',
    500: '#12340f',
    950: '#000000',
  },
}
SCSS
$custom: #12340f;
$custom-light: #546c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12340f",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 115.135,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.28982,
    "c": 0.07373,
    "h": 142
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#12340F
secondary
#69316E
accent
#49DFD2
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030702
muted
#787A78

Preview Lab

Preview with #12340F

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

Preview Lab → · Contrast checker → · Palette generator →

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