#12612A#12612A

#12612A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.114 H 148.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#12612A
RGBrgb(18, 97, 42)
HSLhsl(138, 69%, 23%)
HSVhsv(138, 81%, 38%)
CMYKcmyk(81.4%, 0%, 56.7%, 62%)
CIE-LABlab(35.68, -36.16, 24.70)
CIE-LCHlch(35.68, 43.79, 145.66°)
OKLaboklab(43.35% -0.0972 0.0594)
OKLCHoklch(43.35% 0.114 148.6)
XYZxyz(4.9417, 8.8446, 3.6368)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12612A #611249
analogous
#216112 #12612A #126152
triadic
#12612A #2A1261 #612A12
tetradic
#12612A #122161 #611249 #615212
square
#12612A #122161 #611249 #615212
split-complementary
#12612A #521261 #611221
monochromatic
#051A0B #082D14 #12612A #1C9540 #25C857

Accessibility & contrast

On white

7.58
#12612A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#12612A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12612A
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12612A#FFFFFF#000000##FFFFFF
##12612A1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625825
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12612a;
/* rgb */ color: rgb(18, 97, 42);
/* oklch */ color: oklch(43.3% 0.114 148.6);
Tailwind
colors: {
  custom: {
    50: '#5f8f65',
    500: '#12612a',
    950: '#000000',
  },
}
SCSS
$custom: #12612a;
$custom-light: #5f8f65;
$custom-dark: #000000;
JSON
{
  "hex": "#12612a",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 42
  },
  "hsl": {
    "h": 138.228,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.1139,
    "h": 148.6
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#12612A
secondary
#99367B
accent
#3CB6EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #12612A

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

Preview Lab → · Contrast checker → · Palette generator →

#12612A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva