#12682E#12682E

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

Color values

HEX#12682E
RGBrgb(18, 104, 46)
HSLhsl(140, 70%, 24%)
HSVhsv(140, 83%, 41%)
CMYKcmyk(82.7%, 0%, 55.8%, 59.2%)
CIE-LABlab(38.24, -38.19, 25.64)
CIE-LCHlch(38.24, 46.00, 146.12°)
OKLaboklab(45.49% -0.1026 0.0618)
OKLCHoklch(45.49% 0.12 148.9)
XYZxyz(5.6924, 10.2258, 4.2580)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12682E #68124C
analogous
#216812 #12682E #126859
triadic
#12682E #2E1268 #682E12
tetradic
#12682E #122168 #68124C #685912
square
#12682E #122168 #68124C #685912
split-complementary
#12682E #591268 #681221
monochromatic
#051A0C #093417 #12682E #1B9C45 #24D05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12682E#FFFFFF#000000##FFFFFF
##12682E1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12682e;
/* rgb */ color: rgb(18, 104, 46);
/* oklch */ color: oklch(45.5% 0.120 148.9);
Tailwind
colors: {
  custom: {
    50: '#609468',
    500: '#12682e',
    950: '#000000',
  },
}
SCSS
$custom: #12682e;
$custom-light: #609468;
$custom-dark: #000000;
JSON
{
  "hex": "#12682e",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 46
  },
  "hsl": {
    "h": 139.535,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.11974,
    "h": 148.9
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#12682E
secondary
#A0367D
accent
#3BB3ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #12682E

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

Preview Lab → · Contrast checker → · Palette generator →

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