#12662F#12662F

#12662F is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.116 H 149.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#12662F
RGBrgb(18, 102, 47)
HSLhsl(141, 70%, 24%)
HSVhsv(141, 82%, 40%)
CMYKcmyk(82.4%, 0%, 53.9%, 60%)
CIE-LABlab(37.55, -37.25, 24.23)
CIE-LCHlch(37.55, 44.44, 146.96°)
OKLaboklab(44.91% -0.1001 0.0587)
OKLCHoklch(44.91% 0.116 149.6)
XYZxyz(5.5135, 9.8359, 4.2967)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12662F #661249
analogous
#1F6612 #12662F #126659
triadic
#12662F #2F1266 #662F12
tetradic
#12662F #121F66 #661249 #665912
square
#12662F #121F66 #661249 #665912
split-complementary
#12662F #591266 #66121F
monochromatic
#051A0C #093217 #12662F #1B9A47 #24CE5F

Accessibility & contrast

On white

7.08
#12662F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#12662F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12662F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12662F#FFFFFF#000000##FFFFFF
##12662F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12662f;
/* rgb */ color: rgb(18, 102, 47);
/* oklch */ color: oklch(44.9% 0.116 149.6);
Tailwind
colors: {
  custom: {
    50: '#609269',
    500: '#12662f',
    950: '#000000',
  },
}
SCSS
$custom: #12662f;
$custom-light: #609269;
$custom-dark: #000000;
JSON
{
  "hex": "#12662f",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 47
  },
  "hsl": {
    "h": 140.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.11599,
    "h": 149.6
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#12662F
secondary
#9E367A
accent
#3BAFED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12662F

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

Preview Lab → · Contrast checker → · Palette generator →

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