#126618#126618

#126618 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.6% C 0.135 H 143.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#126618
RGBrgb(18, 102, 24)
HSLhsl(124, 70%, 24%)
HSVhsv(124, 82%, 40%)
CMYKcmyk(82.4%, 0%, 76.5%, 60%)
CIE-LABlab(37.29, -40.32, 35.32)
CIE-LCHlch(37.29, 53.60, 138.78°)
OKLaboklab(44.62% -0.1091 0.0803)
OKLCHoklch(44.62% 0.135 143.7)
XYZxyz(5.1654, 9.6967, 2.4634)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126618 #661260
analogous
#366612 #126618 #126642
triadic
#126618 #181266 #661812
tetradic
#126618 #123666 #661260 #664212
square
#126618 #123666 #661260 #664212
split-complementary
#126618 #421266 #661236
monochromatic
#051A06 #09320C #126618 #1B9A24 #24CE30

Accessibility & contrast

On white

7.14
#126618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#126618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126618
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126618#FFFFFF#000000##FFFFFF
##1266181.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0B
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126618;
/* rgb */ color: rgb(18, 102, 24);
/* oklch */ color: oklch(44.6% 0.135 143.7);
Tailwind
colors: {
  custom: {
    50: '#61935a',
    500: '#126618',
    950: '#000000',
  },
}
SCSS
$custom: #126618;
$custom-light: #61935a;
$custom-dark: #000000;
JSON
{
  "hex": "#126618",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 124.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.13549,
    "h": 143.7
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#126618
secondary
#9E3696
accent
#3BE0ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126618

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

Preview Lab → · Contrast checker → · Palette generator →

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