#12642D#12642D

#12642D is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.115 H 149.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#12642D
RGBrgb(18, 100, 45)
HSLhsl(140, 69%, 23%)
HSVhsv(140, 82%, 39%)
CMYKcmyk(82%, 0%, 55%, 60.8%)
CIE-LABlab(36.80, -36.82, 24.42)
CIE-LCHlch(36.80, 44.18, 146.45°)
OKLaboklab(44.29% -0.0989 0.059)
OKLCHoklch(44.29% 0.115 149.2)
XYZxyz(5.2798, 9.4318, 4.0244)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12642D #641249
analogous
#206412 #12642D #126456
triadic
#12642D #2D1264 #642D12
tetradic
#12642D #122064 #641249 #645612
square
#12642D #122064 #641249 #645612
split-complementary
#12642D #561264 #641220
monochromatic
#051A0C #093016 #12642D #1B9844 #25CC5C

Accessibility & contrast

On white

7.28
#12642D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#12642D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12642D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12642D#FFFFFF#000000##FFFFFF
##12642D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B28
Deuteranopia (green-blind)
#5C5431
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #12642d;
/* rgb */ color: rgb(18, 100, 45);
/* oklch */ color: oklch(44.3% 0.115 149.2);
Tailwind
colors: {
  custom: {
    50: '#5f9167',
    500: '#12642d',
    950: '#000000',
  },
}
SCSS
$custom: #12642d;
$custom-light: #5f9167;
$custom-dark: #000000;
JSON
{
  "hex": "#12642d",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 45
  },
  "hsl": {
    "h": 139.756,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.11517,
    "h": 149.2
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#12642D
secondary
#9C367A
accent
#3BB2EC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #12642D

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

Preview Lab → · Contrast checker → · Palette generator →

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