#126912#126912

#126912 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.143 H 142.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#126912
RGBrgb(18, 105, 18)
HSLhsl(120, 71%, 24%)
HSVhsv(120, 83%, 41%)
CMYKcmyk(82.9%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.33, -41.85, 38.63)
CIE-LCHlch(38.33, 56.95, 137.30°)
OKLaboklab(45.47% -0.1136 0.0863)
OKLCHoklch(45.47% 0.143 142.8)
XYZxyz(5.4099, 10.2748, 2.2703)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126912 #691269
analogous
#3E6912 #126912 #12693E
triadic
#126912 #121269 #691212
tetradic
#126912 #123E69 #691269 #693E12
square
#126912 #123E69 #691269 #693E12
split-complementary
#126912 #3E1269 #69123E
monochromatic
#041A04 #093509 #126912 #1B9D1B #24D124

Accessibility & contrast

On white

6.87
#126912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#126912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126912
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126912#FFFFFF#000000##FFFFFF
##1269121.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126912;
/* rgb */ color: rgb(18, 105, 18);
/* oklch */ color: oklch(45.5% 0.143 142.8);
Tailwind
colors: {
  custom: {
    50: '#629558',
    500: '#126912',
    950: '#000000',
  },
}
SCSS
$custom: #126912;
$custom-light: #629558;
$custom-dark: #000000;
JSON
{
  "hex": "#126912",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.14266,
    "h": 142.8
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#126912
secondary
#A136A1
accent
#3AEDED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126912

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

Preview Lab → · Contrast checker → · Palette generator →

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