#126418#126418

#126418 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.0% C 0.133 H 143.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#126418
RGBrgb(18, 100, 24)
HSLhsl(124, 69%, 23%)
HSVhsv(124, 82%, 39%)
CMYKcmyk(82%, 0%, 76%, 60.8%)
CIE-LABlab(36.57, -39.61, 34.57)
CIE-LCHlch(36.57, 52.58, 138.89°)
OKLaboklab(44.02% -0.1072 0.0787)
OKLCHoklch(44.02% 0.133 143.7)
XYZxyz(4.9712, 9.3083, 2.3987)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126418 #64125E
analogous
#356412 #126418 #126441
triadic
#126418 #181264 #641812
tetradic
#126418 #123564 #64125E #644112
square
#126418 #123564 #64125E #644112
split-complementary
#126418 #411264 #641235
monochromatic
#051A06 #09300C #126418 #1B9824 #25CC31

Accessibility & contrast

On white

7.34
#126418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126418
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126418#FFFFFF#000000##FFFFFF
##1264181.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#5D5420
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126418;
/* rgb */ color: rgb(18, 100, 24);
/* oklch */ color: oklch(44.0% 0.133 143.7);
Tailwind
colors: {
  custom: {
    50: '#61915a',
    500: '#126418',
    950: '#000000',
  },
}
SCSS
$custom: #126418;
$custom-light: #61915a;
$custom-dark: #000000;
JSON
{
  "hex": "#126418",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 124.39,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4402,
    "c": 0.13302,
    "h": 143.7
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#126418
secondary
#9C3694
accent
#3BDFEC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126418

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

Preview Lab → · Contrast checker → · Palette generator →

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