#126916#126916

#126916 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.140 H 143.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#126916
RGBrgb(18, 105, 22)
HSLhsl(123, 71%, 24%)
HSVhsv(123, 83%, 41%)
CMYKcmyk(82.9%, 0%, 79%, 58.8%)
CIE-LABlab(38.36, -41.54, 37.19)
CIE-LCHlch(38.36, 55.76, 138.16°)
OKLaboklab(45.5% -0.1126 0.0839)
OKLCHoklch(45.5% 0.14 143.3)
XYZxyz(5.4455, 10.2890, 2.4579)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126916 #691265
analogous
#3A6912 #126916 #126942
triadic
#126916 #161269 #691612
tetradic
#126916 #123A69 #691265 #694212
square
#126916 #123A69 #691265 #694212
split-complementary
#126916 #421269 #69123A
monochromatic
#041A05 #09350B #126916 #1B9D21 #24D12C

Accessibility & contrast

On white

6.87
#126916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#126916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126916
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126916#FFFFFF#000000##FFFFFF
##1269161.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126916;
/* rgb */ color: rgb(18, 105, 22);
/* oklch */ color: oklch(45.5% 0.140 143.3);
Tailwind
colors: {
  custom: {
    50: '#62955a',
    500: '#126916',
    950: '#000000',
  },
}
SCSS
$custom: #126916;
$custom-light: #62955a;
$custom-dark: #000000;
JSON
{
  "hex": "#126916",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 122.759,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.14039,
    "h": 143.3
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#126916
secondary
#A1369C
accent
#3AE5ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126916

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

Preview Lab → · Contrast checker → · Palette generator →

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