#126718#126718

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

Color values

HEX#126718
RGBrgb(18, 103, 24)
HSLhsl(124, 70%, 24%)
HSVhsv(124, 83%, 40%)
CMYKcmyk(82.5%, 0%, 76.7%, 59.6%)
CIE-LABlab(37.65, -40.67, 35.69)
CIE-LCHlch(37.65, 54.11, 138.73°)
OKLaboklab(44.92% -0.1101 0.0811)
OKLCHoklch(44.92% 0.137 143.6)
XYZxyz(5.2642, 9.8944, 2.4963)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126718 #671261
analogous
#366712 #126718 #126742
triadic
#126718 #181267 #671812
tetradic
#126718 #123667 #671261 #674212
square
#126718 #123667 #671261 #674212
split-complementary
#126718 #421267 #671236
monochromatic
#051A06 #09330C #126718 #1B9B24 #24CF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126718#FFFFFF#000000##FFFFFF
##1267181.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)
#695D0A
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126718;
/* rgb */ color: rgb(18, 103, 24);
/* oklch */ color: oklch(44.9% 0.137 143.6);
Tailwind
colors: {
  custom: {
    50: '#61935a',
    500: '#126718',
    950: '#000000',
  },
}
SCSS
$custom: #126718;
$custom-light: #61935a;
$custom-dark: #000000;
JSON
{
  "hex": "#126718",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 124.235,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44918,
    "c": 0.13671,
    "h": 143.6
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #126718

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

Preview Lab → · Contrast checker → · Palette generator →

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