#12662D#12662D

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

Color values

HEX#12662D
RGBrgb(18, 102, 45)
HSLhsl(139, 70%, 24%)
HSVhsv(139, 82%, 40%)
CMYKcmyk(82.4%, 0%, 55.9%, 60%)
CIE-LABlab(37.52, -37.59, 25.30)
CIE-LCHlch(37.52, 45.31, 146.06°)
OKLaboklab(44.88% -0.101 0.0609)
OKLCHoklch(44.88% 0.118 148.9)
XYZxyz(5.4740, 9.8201, 4.0891)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12662D #66124B
analogous
#216612 #12662D #126657
triadic
#12662D #2D1266 #662D12
tetradic
#12662D #122166 #66124B #665712
square
#12662D #122166 #66124B #665712
split-complementary
#12662D #571266 #661221
monochromatic
#051A0B #093216 #12662D #1B9A44 #24CE5B

Accessibility & contrast

On white

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

On black

2.96
#12662D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12662D#FFFFFF#000000##FFFFFF
##12662D1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12662d;
/* rgb */ color: rgb(18, 102, 45);
/* oklch */ color: oklch(44.9% 0.118 148.9);
Tailwind
colors: {
  custom: {
    50: '#609267',
    500: '#12662d',
    950: '#000000',
  },
}
SCSS
$custom: #12662d;
$custom-light: #609267;
$custom-dark: #000000;
JSON
{
  "hex": "#12662d",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 45
  },
  "hsl": {
    "h": 139.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44879,
    "c": 0.11795,
    "h": 148.9
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#12662D
secondary
#9E367C
accent
#3BB4ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12662D

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

Preview Lab → · Contrast checker → · Palette generator →

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