#12662A#12662A

#12662A is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.121 H 147.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#12662A
RGBrgb(18, 102, 42)
HSLhsl(137, 70%, 24%)
HSVhsv(137, 82%, 40%)
CMYKcmyk(82.4%, 0%, 58.8%, 60%)
CIE-LABlab(37.48, -38.07, 26.87)
CIE-LCHlch(37.48, 46.60, 144.79°)
OKLaboklab(44.83% -0.1023 0.0642)
OKLCHoklch(44.83% 0.121 147.9)
XYZxyz(5.4183, 9.7979, 3.7957)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12662A #66124E
analogous
#246612 #12662A #126654
triadic
#12662A #2A1266 #662A12
tetradic
#12662A #122466 #66124E #665412
square
#12662A #122466 #66124E #665412
split-complementary
#12662A #541266 #661224
monochromatic
#051A0B #093215 #12662A #1B9A3F #24CE55

Accessibility & contrast

On white

7.10
#12662A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#12662A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12662A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12662A#FFFFFF#000000##FFFFFF
##12662A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C24
Deuteranopia (green-blind)
#5E562F
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #12662a;
/* rgb */ color: rgb(18, 102, 42);
/* oklch */ color: oklch(44.8% 0.121 147.9);
Tailwind
colors: {
  custom: {
    50: '#609265',
    500: '#12662a',
    950: '#000000',
  },
}
SCSS
$custom: #12662a;
$custom-light: #609265;
$custom-dark: #000000;
JSON
{
  "hex": "#12662a",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 137.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.12081,
    "h": 147.9
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#12662A
secondary
#9E3680
accent
#3BBAED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12662A

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

Preview Lab → · Contrast checker → · Palette generator →

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