#12671C#12671C

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

Color values

HEX#12671C
RGBrgb(18, 103, 28)
HSLhsl(127, 70%, 24%)
HSVhsv(127, 83%, 40%)
CMYKcmyk(82.5%, 0%, 72.8%, 59.6%)
CIE-LABlab(37.68, -40.27, 34.01)
CIE-LCHlch(37.68, 52.71, 139.82°)
OKLaboklab(44.96% -0.1088 0.0781)
OKLCHoklch(44.96% 0.134 144.3)
XYZxyz(5.3089, 9.9123, 2.7319)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12671C #67125D
analogous
#326712 #12671C #126746
triadic
#12671C #1C1267 #671C12
tetradic
#12671C #123267 #67125D #674612
square
#12671C #123267 #67125D #674612
split-complementary
#12671C #461267 #671232
monochromatic
#051A07 #09330E #12671C #1B9B2A #24CF38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12671C#FFFFFF#000000##FFFFFF
##12671C1.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)
#695D11
Deuteranopia (green-blind)
#605623
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #12671c;
/* rgb */ color: rgb(18, 103, 28);
/* oklch */ color: oklch(45.0% 0.134 144.3);
Tailwind
colors: {
  custom: {
    50: '#61935d',
    500: '#12671c',
    950: '#000000',
  },
}
SCSS
$custom: #12671c;
$custom-light: #61935d;
$custom-dark: #000000;
JSON
{
  "hex": "#12671c",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 127.059,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.13393,
    "h": 144.3
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#12671C
secondary
#9F3692
accent
#3BD8ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12671C

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

Preview Lab → · Contrast checker → · Palette generator →

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