#12661B#12661B

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

Color values

HEX#12661B
RGBrgb(18, 102, 27)
HSLhsl(126, 70%, 24%)
HSVhsv(126, 82%, 40%)
CMYKcmyk(82.4%, 0%, 73.5%, 60%)
CIE-LABlab(37.32, -40.02, 34.06)
CIE-LCHlch(37.32, 52.55, 139.60°)
OKLaboklab(44.65% -0.1082 0.0781)
OKLCHoklch(44.65% 0.133 144.2)
XYZxyz(5.1983, 9.7099, 2.6369)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12661B #66125D
analogous
#336612 #12661B #126645
triadic
#12661B #1B1266 #661B12
tetradic
#12661B #123366 #66125D #664512
square
#12661B #123366 #66125D #664512
split-complementary
#12661B #451266 #661233
monochromatic
#051A07 #09320D #12661B #1B9A29 #24CE37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12661B#FFFFFF#000000##FFFFFF
##12661B1.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)
#685C10
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #12661b;
/* rgb */ color: rgb(18, 102, 27);
/* oklch */ color: oklch(44.6% 0.133 144.2);
Tailwind
colors: {
  custom: {
    50: '#61935c',
    500: '#12661b',
    950: '#000000',
  },
}
SCSS
$custom: #12661b;
$custom-light: #61935c;
$custom-dark: #000000;
JSON
{
  "hex": "#12661b",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 126.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.1334,
    "h": 144.2
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#12661B
secondary
#9E3693
accent
#3BDAED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12661B

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

Preview Lab → · Contrast checker → · Palette generator →

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