#12682F#12682F

#12682F is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.119 H 149.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#12682F
RGBrgb(18, 104, 47)
HSLhsl(140, 70%, 24%)
HSVhsv(140, 83%, 41%)
CMYKcmyk(82.7%, 0%, 54.8%, 59.2%)
CIE-LABlab(38.26, -38.02, 25.11)
CIE-LCHlch(38.26, 45.56, 146.56°)
OKLaboklab(45.5% -0.1021 0.0606)
OKLCHoklch(45.5% 0.119 149.3)
XYZxyz(5.7124, 10.2338, 4.3630)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12682F #68124B
analogous
#206812 #12682F #12685A
triadic
#12682F #2F1268 #682F12
tetradic
#12682F #122068 #68124B #685A12
square
#12682F #122068 #68124B #685A12
split-complementary
#12682F #5A1268 #681220
monochromatic
#051A0C #093417 #12682F #1B9C47 #24D05E

Accessibility & contrast

On white

6.89
#12682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#12682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12682F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12682F#FFFFFF#000000##FFFFFF
##12682F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12682f;
/* rgb */ color: rgb(18, 104, 47);
/* oklch */ color: oklch(45.5% 0.119 149.3);
Tailwind
colors: {
  custom: {
    50: '#609469',
    500: '#12682f',
    950: '#000000',
  },
}
SCSS
$custom: #12682f;
$custom-light: #609469;
$custom-dark: #000000;
JSON
{
  "hex": "#12682f",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 140.233,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.11877,
    "h": 149.3
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#12682F
secondary
#A0367C
accent
#3BB1ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #12682F

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

Preview Lab → · Contrast checker → · Palette generator →

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