#12621D#12621D

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

Color values

HEX#12621D
RGBrgb(18, 98, 29)
HSLhsl(128, 69%, 23%)
HSVhsv(128, 82%, 38%)
CMYKcmyk(81.6%, 0%, 70.4%, 61.6%)
CIE-LABlab(35.89, -38.36, 31.62)
CIE-LCHlch(35.89, 49.71, 140.51°)
OKLaboklab(43.47% -0.1036 0.0732)
OKLCHoklch(43.47% 0.127 144.8)
XYZxyz(4.8386, 8.9521, 2.6351)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12621D #621257
analogous
#2F6212 #12621D #126245
triadic
#12621D #1D1262 #621D12
tetradic
#12621D #122F62 #621257 #624512
square
#12621D #122F62 #621257 #624512
split-complementary
#12621D #451262 #62122F
monochromatic
#051A08 #092E0E #12621D #1B962C #25C93C

Accessibility & contrast

On white

7.53
#12621D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12621D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12621D#FFFFFF#000000##FFFFFF
##12621D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12621d;
/* rgb */ color: rgb(18, 98, 29);
/* oklch */ color: oklch(43.5% 0.127 144.8);
Tailwind
colors: {
  custom: {
    50: '#60905d',
    500: '#12621d',
    950: '#000000',
  },
}
SCSS
$custom: #12621d;
$custom-light: #60905d;
$custom-dark: #000000;
JSON
{
  "hex": "#12621d",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 29
  },
  "hsl": {
    "h": 128.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.12682,
    "h": 144.8
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#12621D
secondary
#9A368C
accent
#3CD4EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #12621D

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

Preview Lab → · Contrast checker → · Palette generator →

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