#126717#126717

#126717 is a dark, vivid green. Relative luminance 0.099; OKLCH L 44.9% C 0.137 H 143.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#126717
RGBrgb(18, 103, 23)
HSLhsl(124, 70%, 24%)
HSVhsv(124, 83%, 40%)
CMYKcmyk(82.5%, 0%, 77.7%, 59.6%)
CIE-LABlab(37.64, -40.76, 36.08)
CIE-LCHlch(37.64, 54.44, 138.48°)
OKLaboklab(44.91% -0.1104 0.0817)
OKLCHoklch(44.91% 0.137 143.5)
XYZxyz(5.2540, 9.8903, 2.4426)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126717 #671262
analogous
#376712 #126717 #126741
triadic
#126717 #171267 #671712
tetradic
#126717 #123767 #671262 #674112
square
#126717 #123767 #671262 #674112
split-complementary
#126717 #411267 #671237
monochromatic
#051A06 #09330B #126717 #1B9B23 #24CF2E

Accessibility & contrast

On white

7.05
#126717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#126717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126717
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126717#FFFFFF#000000##FFFFFF
##1267171.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C08
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126717;
/* rgb */ color: rgb(18, 103, 23);
/* oklch */ color: oklch(44.9% 0.137 143.5);
Tailwind
colors: {
  custom: {
    50: '#61935a',
    500: '#126717',
    950: '#000000',
  },
}
SCSS
$custom: #126717;
$custom-light: #61935a;
$custom-dark: #000000;
JSON
{
  "hex": "#126717",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 123.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4491,
    "c": 0.13736,
    "h": 143.5
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#126717
secondary
#9F3699
accent
#3BE3ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126717

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

Preview Lab → · Contrast checker → · Palette generator →

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