#126016#126016

#126016 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.8% C 0.129 H 143.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#126016
RGBrgb(18, 96, 22)
HSLhsl(123, 68%, 22%)
HSVhsv(123, 81%, 38%)
CMYKcmyk(81.3%, 0%, 77.1%, 62.4%)
CIE-LABlab(35.11, -38.38, 33.90)
CIE-LCHlch(35.11, 51.21, 138.54°)
OKLaboklab(42.8% -0.104 0.077)
OKLCHoklch(42.8% 0.129 143.5)
XYZxyz(4.5768, 8.5517, 2.1683)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126016 #60125C
analogous
#356012 #126016 #12603D
triadic
#126016 #161260 #601612
tetradic
#126016 #123560 #60125C #603D12
square
#126016 #123560 #60125C #603D12
split-complementary
#126016 #3D1260 #601235
monochromatic
#051A06 #082C0A #126016 #1C9422 #25C72E

Accessibility & contrast

On white

7.75
#126016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#126016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126016
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126016#FFFFFF#000000##FFFFFF
##1260161.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625609
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126016;
/* rgb */ color: rgb(18, 96, 22);
/* oklch */ color: oklch(42.8% 0.129 143.5);
Tailwind
colors: {
  custom: {
    50: '#5f8e58',
    500: '#126016',
    950: '#000000',
  },
}
SCSS
$custom: #126016;
$custom-light: #5f8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#126016",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 123.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.12941,
    "h": 143.5
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#126016
secondary
#983693
accent
#3DE2EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126016

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

Preview Lab → · Contrast checker → · Palette generator →

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