#126118#126118

#126118 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.1% C 0.129 H 143.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#126118
RGBrgb(18, 97, 24)
HSLhsl(125, 69%, 23%)
HSVhsv(125, 81%, 38%)
CMYKcmyk(81.4%, 0%, 75.3%, 62%)
CIE-LABlab(35.49, -38.54, 33.45)
CIE-LCHlch(35.49, 51.03, 139.05°)
OKLaboklab(43.12% -0.1043 0.0764)
OKLCHoklch(43.12% 0.129 143.8)
XYZxyz(4.6887, 8.7434, 2.3045)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126118 #61125B
analogous
#336112 #126118 #126140
triadic
#126118 #181261 #611812
tetradic
#126118 #123361 #61125B #614012
square
#126118 #123361 #61125B #614012
split-complementary
#126118 #401261 #611233
monochromatic
#051A06 #082D0B #126118 #1C9525 #25C832

Accessibility & contrast

On white

7.64
#126118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#126118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126118
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126118#FFFFFF#000000##FFFFFF
##1261181.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126118;
/* rgb */ color: rgb(18, 97, 24);
/* oklch */ color: oklch(43.1% 0.129 143.8);
Tailwind
colors: {
  custom: {
    50: '#608f5a',
    500: '#126118',
    950: '#000000',
  },
}
SCSS
$custom: #126118;
$custom-light: #608f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#126118",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 124.557,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.12928,
    "h": 143.8
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#126118
secondary
#993692
accent
#3CDEEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126118

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

Preview Lab → · Contrast checker → · Palette generator →

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