#12661F#12661F

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

Color values

HEX#12661F
RGBrgb(18, 102, 31)
HSLhsl(129, 70%, 24%)
HSVhsv(129, 82%, 40%)
CMYKcmyk(82.4%, 0%, 69.6%, 60%)
CIE-LABlab(37.35, -39.58, 32.28)
CIE-LCHlch(37.35, 51.07, 140.80°)
OKLaboklab(44.69% -0.1068 0.0748)
OKLCHoklch(44.69% 0.13 145)
XYZxyz(5.2478, 9.7296, 2.8975)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12661F #661259
analogous
#2F6612 #12661F #126649
triadic
#12661F #1F1266 #661F12
tetradic
#12661F #122F66 #661259 #664912
square
#12661F #122F66 #661259 #664912
split-complementary
#12661F #491266 #66122F
monochromatic
#051A08 #09320F #12661F #1B9A2F #24CE3F

Accessibility & contrast

On white

7.13
#12661F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#12661F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12661F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12661F#FFFFFF#000000##FFFFFF
##12661F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12661f;
/* rgb */ color: rgb(18, 102, 31);
/* oklch */ color: oklch(44.7% 0.130 145.0);
Tailwind
colors: {
  custom: {
    50: '#61935e',
    500: '#12661f',
    950: '#000000',
  },
}
SCSS
$custom: #12661f;
$custom-light: #61935e;
$custom-dark: #000000;
JSON
{
  "hex": "#12661f",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 129.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.13038,
    "h": 145
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#12661F
secondary
#9E368E
accent
#3BD1ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12661F

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

Preview Lab → · Contrast checker → · Palette generator →

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