#12681D#12681D

#12681D is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.134 H 144.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#12681D
RGBrgb(18, 104, 29)
HSLhsl(128, 70%, 24%)
HSVhsv(128, 83%, 41%)
CMYKcmyk(82.7%, 0%, 72.1%, 59.2%)
CIE-LABlab(38.05, -40.52, 33.95)
CIE-LCHlch(38.05, 52.86, 140.04°)
OKLaboklab(45.26% -0.1094 0.0781)
OKLCHoklch(45.26% 0.134 144.5)
XYZxyz(5.4212, 10.1173, 2.8293)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12681D #68125D
analogous
#326812 #12681D #126848
triadic
#12681D #1D1268 #681D12
tetradic
#12681D #123268 #68125D #684812
square
#12681D #123268 #68125D #684812
split-complementary
#12681D #481268 #681232
monochromatic
#051A07 #09340E #12681D #1B9C2C #24D03A

Accessibility & contrast

On white

6.95
#12681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#12681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12681D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12681D#FFFFFF#000000##FFFFFF
##12681D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E12
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #12681d;
/* rgb */ color: rgb(18, 104, 29);
/* oklch */ color: oklch(45.3% 0.134 144.5);
Tailwind
colors: {
  custom: {
    50: '#61945d',
    500: '#12681d',
    950: '#000000',
  },
}
SCSS
$custom: #12681d;
$custom-light: #61945d;
$custom-dark: #000000;
JSON
{
  "hex": "#12681d",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 127.674,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45264,
    "c": 0.13444,
    "h": 144.5
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#12681D
secondary
#A03692
accent
#3BD6ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12681D

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

Preview Lab → · Contrast checker → · Palette generator →

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