#12612B#12612B

#12612B is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.4% C 0.113 H 148.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#12612B
RGBrgb(18, 97, 43)
HSLhsl(139, 69%, 23%)
HSVhsv(139, 81%, 38%)
CMYKcmyk(81.4%, 0%, 55.7%, 62%)
CIE-LABlab(35.70, -35.99, 24.17)
CIE-LCHlch(35.70, 43.35, 146.12°)
OKLaboklab(43.36% -0.0967 0.0583)
OKLCHoklch(43.36% 0.113 148.9)
XYZxyz(4.9598, 8.8518, 3.7322)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12612B #611248
analogous
#216112 #12612B #126152
triadic
#12612B #2B1261 #612B12
tetradic
#12612B #122161 #611248 #615212
square
#12612B #122161 #611248 #615212
split-complementary
#12612B #521261 #611221
monochromatic
#051A0B #082D14 #12612B #1C9542 #25C859

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12612B#FFFFFF#000000##FFFFFF
##12612B1.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)
#625826
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#005F55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12612b;
/* rgb */ color: rgb(18, 97, 43);
/* oklch */ color: oklch(43.4% 0.113 148.9);
Tailwind
colors: {
  custom: {
    50: '#5f8f65',
    500: '#12612b',
    950: '#000000',
  },
}
SCSS
$custom: #12612b;
$custom-light: #5f8f65;
$custom-dark: #000000;
JSON
{
  "hex": "#12612b",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 43
  },
  "hsl": {
    "h": 138.987,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.11293,
    "h": 148.9
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12612B

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

Preview Lab → · Contrast checker → · Palette generator →

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