#12351E#12351E

#12351E is a dark, muted green. Relative luminance 0.028; OKLCH L 29.6% C 0.058 H 152.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#12351E
RGBrgb(18, 53, 30)
HSLhsl(141, 49%, 14%)
HSVhsv(141, 66%, 21%)
CMYKcmyk(66%, 0%, 43.4%, 79.2%)
CIE-LABlab(19.09, -19.06, 10.81)
CIE-LCHlch(19.09, 21.91, 150.43°)
OKLaboklab(29.59% -0.0517 0.0271)
OKLCHoklch(29.59% 0.058 152.4)
XYZxyz(1.7568, 2.7684, 1.6698)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12351E #351229
analogous
#183512 #12351E #123530
triadic
#12351E #1E1235 #351E12
tetradic
#12351E #121835 #351229 #353012
square
#12351E #121835 #351229 #353012
split-complementary
#12351E #301235 #351218
monochromatic
#08170D #08170D #12351E #226338 #319052

Accessibility & contrast

On white

13.52
#12351E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#12351E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12351E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12351E#FFFFFF#000000##FFFFFF
##12351E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301C
Deuteranopia (green-blind)
#302D1F
Tritanopia (blue-blind)
#08342F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12351e;
/* rgb */ color: rgb(18, 53, 30);
/* oklch */ color: oklch(29.6% 0.058 152.4);
Tailwind
colors: {
  custom: {
    50: '#546c5a',
    500: '#12351e',
    950: '#000000',
  },
}
SCSS
$custom: #12351e;
$custom-light: #546c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#12351e",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 30
  },
  "hsl": {
    "h": 140.571,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29594,
    "c": 0.05834,
    "h": 152.4
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#12351E
secondary
#6D355A
accent
#4FAAD9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12351E

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

Preview Lab → · Contrast checker → · Palette generator →

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