#12662E#12662E

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

Color values

HEX#12662E
RGBrgb(18, 102, 46)
HSLhsl(140, 70%, 24%)
HSVhsv(140, 82%, 40%)
CMYKcmyk(82.4%, 0%, 54.9%, 60%)
CIE-LABlab(37.53, -37.42, 24.76)
CIE-LCHlch(37.53, 44.87, 146.50°)
OKLaboklab(44.9% -0.1005 0.0598)
OKLCHoklch(44.9% 0.117 149.2)
XYZxyz(5.4935, 9.8279, 4.1917)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12662E #66124A
analogous
#206612 #12662E #126658
triadic
#12662E #2E1266 #662E12
tetradic
#12662E #122066 #66124A #665812
square
#12662E #122066 #66124A #665812
split-complementary
#12662E #581266 #661220
monochromatic
#051A0C #093217 #12662E #1B9A45 #24CE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12662E#FFFFFF#000000##FFFFFF
##12662E1.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)
#675C29
Deuteranopia (green-blind)
#5D5632
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #12662e;
/* rgb */ color: rgb(18, 102, 46);
/* oklch */ color: oklch(44.9% 0.117 149.2);
Tailwind
colors: {
  custom: {
    50: '#609268',
    500: '#12662e',
    950: '#000000',
  },
}
SCSS
$custom: #12662e;
$custom-light: #609268;
$custom-dark: #000000;
JSON
{
  "hex": "#12662e",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 46
  },
  "hsl": {
    "h": 140,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.11698,
    "h": 149.2
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#12662E
secondary
#9E367B
accent
#3BB2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12662E

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

Preview Lab → · Contrast checker → · Palette generator →

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