#12662B#12662B

#12662B is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.8% C 0.120 H 148.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#12662B
RGBrgb(18, 102, 43)
HSLhsl(138, 70%, 24%)
HSVhsv(138, 82%, 40%)
CMYKcmyk(82.4%, 0%, 57.8%, 60%)
CIE-LABlab(37.49, -37.92, 26.35)
CIE-LCHlch(37.49, 46.17, 145.20°)
OKLaboklab(44.85% -0.1019 0.0631)
OKLCHoklch(44.85% 0.12 148.2)
XYZxyz(5.4364, 9.8051, 3.8911)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12662B #66124D
analogous
#236612 #12662B #126655
triadic
#12662B #2B1266 #662B12
tetradic
#12662B #122366 #66124D #665512
square
#12662B #122366 #66124D #665512
split-complementary
#12662B #551266 #661223
monochromatic
#051A0B #093215 #12662B #1B9A41 #24CE57

Accessibility & contrast

On white

7.09
#12662B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12662B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12662B#FFFFFF#000000##FFFFFF
##12662B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12662b;
/* rgb */ color: rgb(18, 102, 43);
/* oklch */ color: oklch(44.8% 0.120 148.2);
Tailwind
colors: {
  custom: {
    50: '#609266',
    500: '#12662b',
    950: '#000000',
  },
}
SCSS
$custom: #12662b;
$custom-light: #609266;
$custom-dark: #000000;
JSON
{
  "hex": "#12662b",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 43
  },
  "hsl": {
    "h": 137.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44847,
    "c": 0.11986,
    "h": 148.2
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#12662B
secondary
#9E367F
accent
#3BB8ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12662B

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

Preview Lab → · Contrast checker → · Palette generator →

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