#12621B#12621B

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

Color values

HEX#12621B
RGBrgb(18, 98, 27)
HSLhsl(127, 69%, 23%)
HSVhsv(127, 82%, 38%)
CMYKcmyk(81.6%, 0%, 72.4%, 61.6%)
CIE-LABlab(35.87, -38.59, 32.52)
CIE-LCHlch(35.87, 50.47, 139.88°)
OKLaboklab(43.45% -0.1043 0.0748)
OKLCHoklch(43.45% 0.128 144.3)
XYZxyz(4.8146, 8.9425, 2.5090)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12621B #621259
analogous
#316212 #12621B #126243
triadic
#12621B #1B1262 #621B12
tetradic
#12621B #123162 #621259 #624312
square
#12621B #123162 #621259 #624312
split-complementary
#12621B #431262 #621231
monochromatic
#051A07 #092E0D #12621B #1B9629 #25C937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12621B#FFFFFF#000000##FFFFFF
##12621B1.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)
#645811
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12621b;
/* rgb */ color: rgb(18, 98, 27);
/* oklch */ color: oklch(43.4% 0.128 144.3);
Tailwind
colors: {
  custom: {
    50: '#60905b',
    500: '#12621b',
    950: '#000000',
  },
}
SCSS
$custom: #12621b;
$custom-light: #60905b;
$custom-dark: #000000;
JSON
{
  "hex": "#12621b",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 27
  },
  "hsl": {
    "h": 126.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43448,
    "c": 0.12836,
    "h": 144.3
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#12621B
secondary
#9A368F
accent
#3CD8EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #12621B

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

Preview Lab → · Contrast checker → · Palette generator →

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