#126A16#126A16

#126A16 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.142 H 143.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#126A16
RGBrgb(18, 106, 22)
HSLhsl(123, 71%, 24%)
HSVhsv(123, 83%, 42%)
CMYKcmyk(83%, 0%, 79.2%, 58.4%)
CIE-LABlab(38.71, -41.88, 37.55)
CIE-LCHlch(38.71, 56.25, 138.12°)
OKLaboklab(45.8% -0.1135 0.0847)
OKLCHoklch(45.8% 0.142 143.3)
XYZxyz(5.5479, 10.4939, 2.4920)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A16 #6A1266
analogous
#3A6A12 #126A16 #126A42
triadic
#126A16 #16126A #6A1612
tetradic
#126A16 #123A6A #6A1266 #6A4212
square
#126A16 #123A6A #6A1266 #6A4212
split-complementary
#126A16 #42126A #6A123A
monochromatic
#041A05 #09360B #126A16 #1B9E21 #24D32C

Accessibility & contrast

On white

6.78
#126A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#126A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A16
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A16#FFFFFF#000000##FFFFFF
##126A161.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a16;
/* rgb */ color: rgb(18, 106, 22);
/* oklch */ color: oklch(45.8% 0.142 143.3);
Tailwind
colors: {
  custom: {
    50: '#62965a',
    500: '#126a16',
    950: '#000000',
  },
}
SCSS
$custom: #126a16;
$custom-light: #62965a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a16",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 122.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.14158,
    "h": 143.3
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#126A16
secondary
#A2369D
accent
#3AE6EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A16

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

Preview Lab → · Contrast checker → · Palette generator →

#126A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva