#12621C#12621C

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

Color values

HEX#12621C
RGBrgb(18, 98, 28)
HSLhsl(128, 69%, 23%)
HSVhsv(128, 82%, 38%)
CMYKcmyk(81.6%, 0%, 71.4%, 61.6%)
CIE-LABlab(35.88, -38.48, 32.07)
CIE-LCHlch(35.88, 50.09, 140.19°)
OKLaboklab(43.46% -0.1039 0.074)
OKLCHoklch(43.46% 0.128 144.6)
XYZxyz(4.8264, 8.9472, 2.5710)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12621C #621258
analogous
#306212 #12621C #126244
triadic
#12621C #1C1262 #621C12
tetradic
#12621C #123062 #621258 #624412
square
#12621C #123062 #621258 #624412
split-complementary
#12621C #441262 #621230
monochromatic
#051A07 #092E0D #12621C #1B962B #25C93A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12621C#FFFFFF#000000##FFFFFF
##12621C1.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)
#645813
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12621c;
/* rgb */ color: rgb(18, 98, 28);
/* oklch */ color: oklch(43.5% 0.128 144.6);
Tailwind
colors: {
  custom: {
    50: '#60905c',
    500: '#12621c',
    950: '#000000',
  },
}
SCSS
$custom: #12621c;
$custom-light: #60905c;
$custom-dark: #000000;
JSON
{
  "hex": "#12621c",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 28
  },
  "hsl": {
    "h": 127.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43459,
    "c": 0.1276,
    "h": 144.6
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#12621C
secondary
#9A368E
accent
#3CD6EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #12621C

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

Preview Lab → · Contrast checker → · Palette generator →

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