#126017#126017

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

Color values

HEX#126017
RGBrgb(18, 96, 23)
HSLhsl(124, 68%, 22%)
HSVhsv(124, 81%, 38%)
CMYKcmyk(81.3%, 0%, 76%, 62.4%)
CIE-LABlab(35.11, -38.28, 33.49)
CIE-LCHlch(35.11, 50.87, 138.82°)
OKLaboklab(42.81% -0.1037 0.0763)
OKLCHoklch(42.81% 0.129 143.6)
XYZxyz(4.5867, 8.5557, 2.2201)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126017 #60125B
analogous
#346012 #126017 #12603E
triadic
#126017 #171260 #601712
tetradic
#126017 #123460 #60125B #603E12
square
#126017 #123460 #60125B #603E12
split-complementary
#126017 #3E1260 #601234
monochromatic
#051A06 #082C0B #126017 #1C9423 #25C730

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126017#FFFFFF#000000##FFFFFF
##1260171.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)
#62560B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126017;
/* rgb */ color: rgb(18, 96, 23);
/* oklch */ color: oklch(42.8% 0.129 143.6);
Tailwind
colors: {
  custom: {
    50: '#5f8e59',
    500: '#126017',
    950: '#000000',
  },
}
SCSS
$custom: #126017;
$custom-light: #5f8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#126017",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 123.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.12873,
    "h": 143.6
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#126017
secondary
#983692
accent
#3DE0EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126017

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

Preview Lab → · Contrast checker → · Palette generator →

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