#12671B#12671B

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

Color values

HEX#12671B
RGBrgb(18, 103, 27)
HSLhsl(126, 70%, 24%)
HSVhsv(126, 83%, 40%)
CMYKcmyk(82.5%, 0%, 73.8%, 59.6%)
CIE-LABlab(37.68, -40.37, 34.44)
CIE-LCHlch(37.68, 53.07, 139.53°)
OKLaboklab(44.95% -0.1091 0.0789)
OKLCHoklch(44.95% 0.135 144.2)
XYZxyz(5.2972, 9.9076, 2.6699)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12671B #67125E
analogous
#336712 #12671B #126745
triadic
#12671B #1B1267 #671B12
tetradic
#12671B #123367 #67125E #674512
square
#12671B #123367 #67125E #674512
split-complementary
#12671B #451267 #671233
monochromatic
#051A07 #09330D #12671B #1B9B29 #24CF36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12671B#FFFFFF#000000##FFFFFF
##12671B1.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)
#695D10
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12671b;
/* rgb */ color: rgb(18, 103, 27);
/* oklch */ color: oklch(44.9% 0.135 144.2);
Tailwind
colors: {
  custom: {
    50: '#61935c',
    500: '#12671b',
    950: '#000000',
  },
}
SCSS
$custom: #12671b;
$custom-light: #61935c;
$custom-dark: #000000;
JSON
{
  "hex": "#12671b",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 126.353,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.13465,
    "h": 144.2
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#12671B
secondary
#9F3694
accent
#3BDAED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12671B

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

Preview Lab → · Contrast checker → · Palette generator →

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