#126018#126018

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

Color values

HEX#126018
RGBrgb(18, 96, 24)
HSLhsl(125, 68%, 22%)
HSVhsv(125, 81%, 38%)
CMYKcmyk(81.3%, 0%, 75%, 62.4%)
CIE-LABlab(35.12, -38.19, 33.07)
CIE-LCHlch(35.12, 50.51, 139.11°)
OKLaboklab(42.82% -0.1033 0.0756)
OKLCHoklch(42.82% 0.128 143.8)
XYZxyz(4.5969, 8.5598, 2.2739)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126018 #60125A
analogous
#336012 #126018 #12603F
triadic
#126018 #181260 #601812
tetradic
#126018 #123360 #60125A #603F12
square
#126018 #123360 #60125A #603F12
split-complementary
#126018 #3F1260 #601233
monochromatic
#051A06 #082C0B #126018 #1C9425 #25C732

Accessibility & contrast

On white

7.74
#126018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126018
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126018#FFFFFF#000000##FFFFFF
##1260181.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126018;
/* rgb */ color: rgb(18, 96, 24);
/* oklch */ color: oklch(42.8% 0.128 143.8);
Tailwind
colors: {
  custom: {
    50: '#5f8e59',
    500: '#126018',
    950: '#000000',
  },
}
SCSS
$custom: #126018;
$custom-light: #5f8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#126018",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 124.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.12802,
    "h": 143.8
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#126018
secondary
#983691
accent
#3DDEEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126018

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

Preview Lab → · Contrast checker → · Palette generator →

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