#12661A#12661A

#12661A is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.6% C 0.134 H 144.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#12661A
RGBrgb(18, 102, 26)
HSLhsl(126, 70%, 24%)
HSVhsv(126, 82%, 40%)
CMYKcmyk(82.4%, 0%, 74.5%, 60%)
CIE-LABlab(37.31, -40.12, 34.49)
CIE-LCHlch(37.31, 52.91, 139.32°)
OKLaboklab(44.64% -0.1085 0.0788)
OKLCHoklch(44.64% 0.134 144)
XYZxyz(5.1869, 9.7053, 2.5770)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12661A #66125E
analogous
#346612 #12661A #126644
triadic
#12661A #1A1266 #661A12
tetradic
#12661A #123466 #66125E #664412
square
#12661A #123466 #66125E #664412
split-complementary
#12661A #441266 #661234
monochromatic
#051A07 #09320D #12661A #1B9A27 #24CE35

Accessibility & contrast

On white

7.14
#12661A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#12661A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12661A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12661A#FFFFFF#000000##FFFFFF
##12661A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0E
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #12661a;
/* rgb */ color: rgb(18, 102, 26);
/* oklch */ color: oklch(44.6% 0.134 144.0);
Tailwind
colors: {
  custom: {
    50: '#61935b',
    500: '#12661a',
    950: '#000000',
  },
}
SCSS
$custom: #12661a;
$custom-light: #61935b;
$custom-dark: #000000;
JSON
{
  "hex": "#12661a",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 125.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44637,
    "c": 0.13412,
    "h": 144
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#12661A
secondary
#9E3694
accent
#3BDCED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12661A

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

Preview Lab → · Contrast checker → · Palette generator →

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