#126715#126715

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

Color values

HEX#126715
RGBrgb(18, 103, 21)
HSLhsl(122, 70%, 24%)
HSVhsv(122, 83%, 40%)
CMYKcmyk(82.5%, 0%, 79.6%, 59.6%)
CIE-LABlab(37.63, -40.93, 36.85)
CIE-LCHlch(37.63, 55.08, 138.00°)
OKLaboklab(44.89% -0.111 0.0831)
OKLCHoklch(44.89% 0.139 143.2)
XYZxyz(5.2347, 9.8826, 2.3410)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126715 #671264
analogous
#396712 #126715 #12673F
triadic
#126715 #151267 #671512
tetradic
#126715 #123967 #671264 #673F12
square
#126715 #123967 #671264 #673F12
split-complementary
#126715 #3F1267 #671239
monochromatic
#051A05 #09330A #126715 #1B9B20 #24CF2A

Accessibility & contrast

On white

7.06
#126715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126715
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126715#FFFFFF#000000##FFFFFF
##1267151.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126715;
/* rgb */ color: rgb(18, 103, 21);
/* oklch */ color: oklch(44.9% 0.139 143.2);
Tailwind
colors: {
  custom: {
    50: '#629359',
    500: '#126715',
    950: '#000000',
  },
}
SCSS
$custom: #126715;
$custom-light: #629359;
$custom-dark: #000000;
JSON
{
  "hex": "#126715",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 122.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.1386,
    "h": 143.2
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#126715
secondary
#9F369B
accent
#3BE7ED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126715

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

Preview Lab → · Contrast checker → · Palette generator →

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