#12682A#12682A

#12682A is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.124 H 147.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#12682A
RGBrgb(18, 104, 42)
HSLhsl(137, 70%, 24%)
HSVhsv(137, 83%, 41%)
CMYKcmyk(82.7%, 0%, 59.6%, 59.2%)
CIE-LABlab(38.19, -38.82, 27.72)
CIE-LCHlch(38.19, 47.71, 144.47°)
OKLaboklab(45.42% -0.1044 0.0661)
OKLCHoklch(45.42% 0.124 147.7)
XYZxyz(5.6172, 10.1957, 3.8620)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12682A #681250
analogous
#256812 #12682A #126855
triadic
#12682A #2A1268 #682A12
tetradic
#12682A #122568 #681250 #685512
square
#12682A #122568 #681250 #685512
split-complementary
#12682A #551268 #681225
monochromatic
#051A0B #093415 #12682A #1B9C3F #24D054

Accessibility & contrast

On white

6.91
#12682A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#12682A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12682A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12682A#FFFFFF#000000##FFFFFF
##12682A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E24
Deuteranopia (green-blind)
#60572F
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #12682a;
/* rgb */ color: rgb(18, 104, 42);
/* oklch */ color: oklch(45.4% 0.124 147.7);
Tailwind
colors: {
  custom: {
    50: '#619465',
    500: '#12682a',
    950: '#000000',
  },
}
SCSS
$custom: #12682a;
$custom-light: #619465;
$custom-dark: #000000;
JSON
{
  "hex": "#12682a",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 42
  },
  "hsl": {
    "h": 136.744,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.12352,
    "h": 147.7
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#12682A
secondary
#A03682
accent
#3BBBED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #12682A

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

Preview Lab → · Contrast checker → · Palette generator →

#12682A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva