#12681F#12681F

#12681F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.133 H 144.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#12681F
RGBrgb(18, 104, 31)
HSLhsl(129, 70%, 24%)
HSVhsv(129, 83%, 41%)
CMYKcmyk(82.7%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.07, -40.29, 33.06)
CIE-LCHlch(38.07, 52.12, 140.63°)
OKLaboklab(45.29% -0.1087 0.0765)
OKLCHoklch(45.29% 0.133 144.9)
XYZxyz(5.4467, 10.1275, 2.9638)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12681F #68125B
analogous
#306812 #12681F #12684A
triadic
#12681F #1F1268 #681F12
tetradic
#12681F #123068 #68125B #684A12
square
#12681F #123068 #68125B #684A12
split-complementary
#12681F #4A1268 #681230
monochromatic
#051A08 #09340F #12681F #1B9C2F #24D03E

Accessibility & contrast

On white

6.94
#12681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#12681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12681F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12681F#FFFFFF#000000##FFFFFF
##12681F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E15
Deuteranopia (green-blind)
#605726
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #12681f;
/* rgb */ color: rgb(18, 104, 31);
/* oklch */ color: oklch(45.3% 0.133 144.9);
Tailwind
colors: {
  custom: {
    50: '#61945e',
    500: '#12681f',
    950: '#000000',
  },
}
SCSS
$custom: #12681f;
$custom-light: #61945e;
$custom-dark: #000000;
JSON
{
  "hex": "#12681f",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 129.07,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.13292,
    "h": 144.9
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#12681F
secondary
#A03690
accent
#3BD2ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #12681F

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

Preview Lab → · Contrast checker → · Palette generator →

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