#126712#126712

#126712 is a dark, vivid green. Relative luminance 0.099; OKLCH L 44.9% C 0.140 H 142.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#126712
RGBrgb(18, 103, 18)
HSLhsl(120, 70%, 24%)
HSVhsv(120, 83%, 40%)
CMYKcmyk(82.5%, 0%, 82.5%, 59.6%)
CIE-LABlab(37.61, -41.17, 37.93)
CIE-LCHlch(37.61, 55.98, 137.34°)
OKLaboklab(44.87% -0.1117 0.0849)
OKLCHoklch(44.87% 0.14 142.8)
XYZxyz(5.2086, 9.8721, 2.2032)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126712 #671267
analogous
#3C6712 #126712 #12673C
triadic
#126712 #121267 #671212
tetradic
#126712 #123C67 #671267 #673C12
square
#126712 #123C67 #671267 #673C12
split-complementary
#126712 #3C1267 #67123C
monochromatic
#051A05 #093309 #126712 #1B9B1B #24CF24

Accessibility & contrast

On white

7.06
#126712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#126712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126712
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126712#FFFFFF#000000##FFFFFF
##1267121.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126712;
/* rgb */ color: rgb(18, 103, 18);
/* oklch */ color: oklch(44.9% 0.140 142.8);
Tailwind
colors: {
  custom: {
    50: '#629357',
    500: '#126712',
    950: '#000000',
  },
}
SCSS
$custom: #126712;
$custom-light: #629357;
$custom-dark: #000000;
JSON
{
  "hex": "#126712",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.14032,
    "h": 142.8
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #126712

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

Preview Lab → · Contrast checker → · Palette generator →

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