#12341F#12341F

#12341F is a dark, muted green. Relative luminance 0.027; OKLCH L 29.3% C 0.055 H 154.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#12341F
RGBrgb(18, 52, 31)
HSLhsl(143, 49%, 14%)
HSVhsv(143, 65%, 20%)
CMYKcmyk(65.4%, 0%, 40.4%, 79.6%)
CIE-LABlab(18.73, -18.30, 9.66)
CIE-LCHlch(18.73, 20.70, 152.17°)
OKLaboklab(29.3% -0.0497 0.0243)
OKLCHoklch(29.3% 0.055 154)
XYZxyz(1.7246, 2.6834, 1.7231)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12341F #341227
analogous
#163412 #12341F #123430
triadic
#12341F #1F1234 #341F12
tetradic
#12341F #121634 #341227 #343012
square
#12341F #121634 #341227 #343012
split-complementary
#12341F #301234 #341216
monochromatic
#08170E #08170E #12341F #22613A #318F55

Accessibility & contrast

On white

13.66
#12341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#12341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12341F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12341F#FFFFFF#000000##FFFFFF
##12341F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#2F2C20
Tritanopia (blue-blind)
#08332F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12341f;
/* rgb */ color: rgb(18, 52, 31);
/* oklch */ color: oklch(29.3% 0.055 154.0);
Tailwind
colors: {
  custom: {
    50: '#536c5a',
    500: '#12341f',
    950: '#000000',
  },
}
SCSS
$custom: #12341f;
$custom-light: #536c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#12341f",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 142.941,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29304,
    "c": 0.05537,
    "h": 154
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#12341F
secondary
#6C3557
accent
#50A4D8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#030704
muted
#787A79

Preview Lab

Preview with #12341F

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

Preview Lab → · Contrast checker → · Palette generator →

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