#12670F#12670F

#12670F is a dark, vivid green. Relative luminance 0.099; OKLCH L 44.9% C 0.142 H 142.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#12670F
RGBrgb(18, 103, 15)
HSLhsl(118, 75%, 23%)
HSVhsv(118, 85%, 40%)
CMYKcmyk(82.5%, 0%, 85.4%, 59.6%)
CIE-LABlab(37.60, -41.38, 38.92)
CIE-LCHlch(37.60, 56.81, 136.75°)
OKLaboklab(44.85% -0.1124 0.0865)
OKLCHoklch(44.85% 0.142 142.4)
XYZxyz(5.1856, 9.8630, 2.0823)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12670F #640F67
analogous
#3E670F #12670F #0F6738
triadic
#12670F #0F1267 #670F12
tetradic
#12670F #0F3E67 #640F67 #67380F
square
#12670F #0F3E67 #640F67 #67380F
split-complementary
#12670F #380F67 #670F3E
monochromatic
#051B04 #093207 #12670F #1B9C17 #25D21F

Accessibility & contrast

On white

7.06
#12670F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#12670F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12670F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12670F#FFFFFF#000000##FFFFFF
##12670F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #12670f;
/* rgb */ color: rgb(18, 103, 15);
/* oklch */ color: oklch(44.9% 0.142 142.4);
Tailwind
colors: {
  custom: {
    50: '#629356',
    500: '#12670f',
    950: '#000000',
  },
}
SCSS
$custom: #12670f;
$custom-light: #629356;
$custom-dark: #000000;
JSON
{
  "hex": "#12670f",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 117.955,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.14185,
    "h": 142.4
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#12670F
secondary
#9C32A0
accent
#37F1EB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #12670F

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

Preview Lab → · Contrast checker → · Palette generator →

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