#12622A#12622A

#12622A is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.6% C 0.115 H 148.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#12622A
RGBrgb(18, 98, 42)
HSLhsl(138, 69%, 23%)
HSVhsv(138, 82%, 38%)
CMYKcmyk(81.6%, 0%, 57.1%, 61.6%)
CIE-LABlab(36.04, -36.54, 25.14)
CIE-LCHlch(36.04, 44.35, 145.48°)
OKLaboklab(43.64% -0.0982 0.0604)
OKLCHoklch(43.64% 0.115 148.4)
XYZxyz(5.0347, 9.0305, 3.6678)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12622A #62124A
analogous
#226212 #12622A #126252
triadic
#12622A #2A1262 #622A12
tetradic
#12622A #122262 #62124A #625212
square
#12622A #122262 #62124A #625212
split-complementary
#12622A #521262 #621222
monochromatic
#051A0B #092E14 #12622A #1B9640 #25C956

Accessibility & contrast

On white

7.48
#12622A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#12622A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12622A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12622A#FFFFFF#000000##FFFFFF
##12622A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635925
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #12622a;
/* rgb */ color: rgb(18, 98, 42);
/* oklch */ color: oklch(43.6% 0.115 148.4);
Tailwind
colors: {
  custom: {
    50: '#5f8f65',
    500: '#12622a',
    950: '#000000',
  },
}
SCSS
$custom: #12622a;
$custom-light: #5f8f65;
$custom-dark: #000000;
JSON
{
  "hex": "#12622a",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 42
  },
  "hsl": {
    "h": 138,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43644,
    "c": 0.1153,
    "h": 148.4
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#12622A
secondary
#9A367C
accent
#3CB7EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #12622A

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

Preview Lab → · Contrast checker → · Palette generator →

#12622A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva