#12671D#12671D

#12671D is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.133 H 144.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#12671D
RGBrgb(18, 103, 29)
HSLhsl(128, 70%, 24%)
HSVhsv(128, 83%, 40%)
CMYKcmyk(82.5%, 0%, 71.8%, 59.6%)
CIE-LABlab(37.69, -40.16, 33.57)
CIE-LCHlch(37.69, 52.34, 140.11°)
OKLaboklab(44.97% -0.1085 0.0773)
OKLCHoklch(44.97% 0.133 144.5)
XYZxyz(5.3211, 9.9172, 2.7959)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12671D #67125C
analogous
#316712 #12671D #126747
triadic
#12671D #1D1267 #671D12
tetradic
#12671D #123167 #67125C #674712
square
#12671D #123167 #67125C #674712
split-complementary
#12671D #471267 #671231
monochromatic
#051A07 #09330E #12671D #1B9B2C #24CF3A

Accessibility & contrast

On white

7.04
#12671D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#12671D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12671D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12671D#FFFFFF#000000##FFFFFF
##12671D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D13
Deuteranopia (green-blind)
#605624
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12671d;
/* rgb */ color: rgb(18, 103, 29);
/* oklch */ color: oklch(45.0% 0.133 144.5);
Tailwind
colors: {
  custom: {
    50: '#61935d',
    500: '#12671d',
    950: '#000000',
  },
}
SCSS
$custom: #12671d;
$custom-light: #61935d;
$custom-dark: #000000;
JSON
{
  "hex": "#12671d",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 127.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.13319,
    "h": 144.5
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#12671D
secondary
#9F3691
accent
#3BD6ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12671D

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

Preview Lab → · Contrast checker → · Palette generator →

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