#12661C#12661C

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

Color values

HEX#12661C
RGBrgb(18, 102, 28)
HSLhsl(127, 70%, 24%)
HSVhsv(127, 82%, 40%)
CMYKcmyk(82.4%, 0%, 72.5%, 60%)
CIE-LABlab(37.33, -39.91, 33.63)
CIE-LCHlch(37.33, 52.19, 139.89°)
OKLaboklab(44.66% -0.1078 0.0773)
OKLCHoklch(44.66% 0.133 144.4)
XYZxyz(5.2101, 9.7146, 2.6989)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12661C #66125C
analogous
#326612 #12661C #126646
triadic
#12661C #1C1266 #661C12
tetradic
#12661C #123266 #66125C #664612
square
#12661C #123266 #66125C #664612
split-complementary
#12661C #461266 #661232
monochromatic
#051A07 #09320E #12661C #1B9A2A #24CE39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12661C#FFFFFF#000000##FFFFFF
##12661C1.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)
#685C11
Deuteranopia (green-blind)
#5F5523
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #12661c;
/* rgb */ color: rgb(18, 102, 28);
/* oklch */ color: oklch(44.7% 0.133 144.4);
Tailwind
colors: {
  custom: {
    50: '#61935c',
    500: '#12661c',
    950: '#000000',
  },
}
SCSS
$custom: #12661c;
$custom-light: #61935c;
$custom-dark: #000000;
JSON
{
  "hex": "#12661c",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 127.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.13267,
    "h": 144.4
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#12661C
secondary
#9E3691
accent
#3BD8ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12661C

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

Preview Lab → · Contrast checker → · Palette generator →

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