#12681B#12681B

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

Color values

HEX#12681B
RGBrgb(18, 104, 27)
HSLhsl(126, 70%, 24%)
HSVhsv(126, 83%, 41%)
CMYKcmyk(82.7%, 0%, 74%, 59.2%)
CIE-LABlab(38.03, -40.73, 34.82)
CIE-LCHlch(38.03, 53.58, 139.47°)
OKLaboklab(45.24% -0.1101 0.0796)
OKLCHoklch(45.24% 0.136 144.1)
XYZxyz(5.3972, 10.1077, 2.7032)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12681B #68125F
analogous
#346812 #12681B #126846
triadic
#12681B #1B1268 #681B12
tetradic
#12681B #123468 #68125F #684612
square
#12681B #123468 #68125F #684612
split-complementary
#12681B #461268 #681234
monochromatic
#051A07 #09340D #12681B #1B9C29 #24D036

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12681b;
/* rgb */ color: rgb(18, 104, 27);
/* oklch */ color: oklch(45.2% 0.136 144.1);
Tailwind
colors: {
  custom: {
    50: '#61945c',
    500: '#12681b',
    950: '#000000',
  },
}
SCSS
$custom: #12681b;
$custom-light: #61945c;
$custom-dark: #000000;
JSON
{
  "hex": "#12681b",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 126.279,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.13589,
    "h": 144.1
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#12681B
secondary
#A03695
accent
#3BDBED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #12681B

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

Preview Lab → · Contrast checker → · Palette generator →

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