#12621E#12621E

#12621E is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.126 H 145.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#12621E
RGBrgb(18, 98, 30)
HSLhsl(129, 69%, 23%)
HSVhsv(129, 82%, 38%)
CMYKcmyk(81.6%, 0%, 69.4%, 61.6%)
CIE-LABlab(35.90, -38.24, 31.15)
CIE-LCHlch(35.90, 49.33, 140.83°)
OKLaboklab(43.48% -0.1032 0.0723)
OKLCHoklch(43.48% 0.126 145)
XYZxyz(4.8511, 8.9571, 2.7013)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12621E #621256
analogous
#2E6212 #12621E #126246
triadic
#12621E #1E1262 #621E12
tetradic
#12621E #122E62 #621256 #624612
square
#12621E #122E62 #621256 #624612
split-complementary
#12621E #461262 #62122E
monochromatic
#051A08 #092E0E #12621E #1B962E #25C93E

Accessibility & contrast

On white

7.52
#12621E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#12621E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12621E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12621E#FFFFFF#000000##FFFFFF
##12621E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645815
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12621e;
/* rgb */ color: rgb(18, 98, 30);
/* oklch */ color: oklch(43.5% 0.126 145.0);
Tailwind
colors: {
  custom: {
    50: '#60905d',
    500: '#12621e',
    950: '#000000',
  },
}
SCSS
$custom: #12621e;
$custom-light: #60905d;
$custom-dark: #000000;
JSON
{
  "hex": "#12621e",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 30
  },
  "hsl": {
    "h": 129,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.12602,
    "h": 145
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#12621E
secondary
#9A368B
accent
#3CD1EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #12621E

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

Preview Lab → · Contrast checker → · Palette generator →

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