#12682D#12682D

#12682D is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.121 H 148.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#12682D
RGBrgb(18, 104, 45)
HSLhsl(139, 70%, 24%)
HSVhsv(139, 83%, 41%)
CMYKcmyk(82.7%, 0%, 56.7%, 59.2%)
CIE-LABlab(38.23, -38.35, 26.17)
CIE-LCHlch(38.23, 46.43, 145.70°)
OKLaboklab(45.47% -0.103 0.0629)
OKLCHoklch(45.47% 0.121 148.6)
XYZxyz(5.6730, 10.2180, 4.1554)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12682D #68124D
analogous
#226812 #12682D #126858
triadic
#12682D #2D1268 #682D12
tetradic
#12682D #122268 #68124D #685812
square
#12682D #122268 #68124D #685812
split-complementary
#12682D #581268 #681222
monochromatic
#051A0B #093416 #12682D #1B9C44 #24D05A

Accessibility & contrast

On white

6.90
#12682D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #12682D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12682D#FFFFFF#000000##FFFFFF
##12682D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E28
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #12682d;
/* rgb */ color: rgb(18, 104, 45);
/* oklch */ color: oklch(45.5% 0.121 148.6);
Tailwind
colors: {
  custom: {
    50: '#619467',
    500: '#12682d',
    950: '#000000',
  },
}
SCSS
$custom: #12682d;
$custom-light: #619467;
$custom-dark: #000000;
JSON
{
  "hex": "#12682d",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 45
  },
  "hsl": {
    "h": 138.837,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.12069,
    "h": 148.6
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#12682D
secondary
#A0367F
accent
#3BB5ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #12682D

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

Preview Lab → · Contrast checker → · Palette generator →

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