#12681C#12681C

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

Color values

HEX#12681C
RGBrgb(18, 104, 28)
HSLhsl(127, 70%, 24%)
HSVhsv(127, 83%, 41%)
CMYKcmyk(82.7%, 0%, 73.1%, 59.2%)
CIE-LABlab(38.04, -40.62, 34.39)
CIE-LCHlch(38.04, 53.23, 139.75°)
OKLaboklab(45.25% -0.1098 0.0789)
OKLCHoklch(45.25% 0.135 144.3)
XYZxyz(5.4090, 10.1124, 2.7652)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12681C #68125E
analogous
#336812 #12681C #126847
triadic
#12681C #1C1268 #681C12
tetradic
#12681C #123368 #68125E #684712
square
#12681C #123368 #68125E #684712
split-complementary
#12681C #471268 #681233
monochromatic
#051A07 #09340E #12681C #1B9C2A #24D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12681C#FFFFFF#000000##FFFFFF
##12681C1.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)
#6A5D11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #12681c;
/* rgb */ color: rgb(18, 104, 28);
/* oklch */ color: oklch(45.3% 0.135 144.3);
Tailwind
colors: {
  custom: {
    50: '#61945d',
    500: '#12681c',
    950: '#000000',
  },
}
SCSS
$custom: #12681c;
$custom-light: #61945d;
$custom-dark: #000000;
JSON
{
  "hex": "#12681c",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 126.977,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.13518,
    "h": 144.3
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#12681C
secondary
#A03693
accent
#3BD8ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12681C

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

Preview Lab → · Contrast checker → · Palette generator →

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