#12621F#12621F

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

Color values

HEX#12621F
RGBrgb(18, 98, 31)
HSLhsl(130, 69%, 23%)
HSVhsv(130, 82%, 38%)
CMYKcmyk(81.6%, 0%, 68.4%, 61.6%)
CIE-LABlab(35.91, -38.12, 30.68)
CIE-LCHlch(35.91, 48.94, 141.17°)
OKLaboklab(43.49% -0.1028 0.0714)
OKLCHoklch(43.49% 0.125 145.2)
XYZxyz(4.8641, 8.9623, 2.7696)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12621F #621255
analogous
#2D6212 #12621F #126247
triadic
#12621F #1F1262 #621F12
tetradic
#12621F #122D62 #621255 #624712
square
#12621F #122D62 #621255 #624712
split-complementary
#12621F #471262 #62122D
monochromatic
#051A08 #092E0F #12621F #1B962F #25C940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12621F#FFFFFF#000000##FFFFFF
##12621F1.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)
#645817
Deuteranopia (green-blind)
#5B5225
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12621f;
/* rgb */ color: rgb(18, 98, 31);
/* oklch */ color: oklch(43.5% 0.125 145.2);
Tailwind
colors: {
  custom: {
    50: '#60905e',
    500: '#12621f',
    950: '#000000',
  },
}
SCSS
$custom: #12621f;
$custom-light: #60905e;
$custom-dark: #000000;
JSON
{
  "hex": "#12621f",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 31
  },
  "hsl": {
    "h": 129.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.1252,
    "h": 145.2
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#12621F
secondary
#9A368A
accent
#3CCFEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #12621F

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

Preview Lab → · Contrast checker → · Palette generator →

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