#126612#126612

#126612 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.6% C 0.139 H 142.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#126612
RGBrgb(18, 102, 18)
HSLhsl(120, 70%, 24%)
HSVhsv(120, 82%, 40%)
CMYKcmyk(82.4%, 0%, 82.4%, 60%)
CIE-LABlab(37.25, -40.83, 37.59)
CIE-LCHlch(37.25, 55.49, 137.37°)
OKLaboklab(44.57% -0.1108 0.0841)
OKLCHoklch(44.57% 0.139 142.8)
XYZxyz(5.1097, 9.6744, 2.1702)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126612 #661266
analogous
#3C6612 #126612 #12663C
triadic
#126612 #121266 #661212
tetradic
#126612 #123C66 #661266 #663C12
square
#126612 #123C66 #661266 #663C12
split-complementary
#126612 #3C1266 #66123C
monochromatic
#051A05 #093209 #126612 #1B9A1B #24CE24

Accessibility & contrast

On white

7.16
#126612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#126612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126612
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126612#FFFFFF#000000##FFFFFF
##1266121.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#006356
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126612;
/* rgb */ color: rgb(18, 102, 18);
/* oklch */ color: oklch(44.6% 0.139 142.8);
Tailwind
colors: {
  custom: {
    50: '#619357',
    500: '#126612',
    950: '#000000',
  },
}
SCSS
$custom: #126612;
$custom-light: #619357;
$custom-dark: #000000;
JSON
{
  "hex": "#126612",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44572,
    "c": 0.13913,
    "h": 142.8
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#126612
secondary
#9E369E
accent
#3BEDED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126612

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

Preview Lab → · Contrast checker → · Palette generator →

#126612 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva