#126117#126117

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

Color values

HEX#126117
RGBrgb(18, 97, 23)
HSLhsl(124, 69%, 23%)
HSVhsv(124, 81%, 38%)
CMYKcmyk(81.4%, 0%, 76.3%, 62%)
CIE-LABlab(35.48, -38.64, 33.87)
CIE-LCHlch(35.48, 51.38, 138.77°)
OKLaboklab(43.11% -0.1046 0.0771)
OKLCHoklch(43.11% 0.13 143.6)
XYZxyz(4.6785, 8.7393, 2.2507)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126117 #61125C
analogous
#356112 #126117 #12613E
triadic
#126117 #171261 #611712
tetradic
#126117 #123561 #61125C #613E12
square
#126117 #123561 #61125C #613E12
split-complementary
#126117 #3E1261 #611235
monochromatic
#051A06 #082D0B #126117 #1C9523 #25C82F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126117#FFFFFF#000000##FFFFFF
##1261171.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)
#63570B
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#005E52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126117;
/* rgb */ color: rgb(18, 97, 23);
/* oklch */ color: oklch(43.1% 0.130 143.6);
Tailwind
colors: {
  custom: {
    50: '#608f59',
    500: '#126117',
    950: '#000000',
  },
}
SCSS
$custom: #126117;
$custom-light: #608f59;
$custom-dark: #000000;
JSON
{
  "hex": "#126117",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 123.797,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.12998,
    "h": 143.6
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#126117
secondary
#993693
accent
#3CE0EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126117

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

Preview Lab → · Contrast checker → · Palette generator →

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