#126C16#126C16

#126C16 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.144 H 143.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#126C16
RGBrgb(18, 108, 22)
HSLhsl(123, 71%, 25%)
HSVhsv(123, 83%, 42%)
CMYKcmyk(83.3%, 0%, 79.6%, 57.6%)
CIE-LABlab(39.43, -42.57, 38.26)
CIE-LCHlch(39.43, 57.24, 138.05°)
OKLaboklab(46.39% -0.1153 0.0861)
OKLCHoklch(46.39% 0.144 143.3)
XYZxyz(5.7565, 10.9110, 2.5615)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C16 #6C1268
analogous
#3B6C12 #126C16 #126C43
triadic
#126C16 #16126C #6C1612
tetradic
#126C16 #123B6C #6C1268 #6C4312
square
#126C16 #123B6C #6C1268 #6C4312
split-complementary
#126C16 #43126C #6C123B
monochromatic
#041A05 #09380B #126C16 #1BA021 #23D52B

Accessibility & contrast

On white

6.60
#126C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#126C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C16
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C16#FFFFFF#000000##FFFFFF
##126C161.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6104
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126c16;
/* rgb */ color: rgb(18, 108, 22);
/* oklch */ color: oklch(46.4% 0.144 143.3);
Tailwind
colors: {
  custom: {
    50: '#63975a',
    500: '#126c16',
    950: '#000000',
  },
}
SCSS
$custom: #126c16;
$custom-light: #63975a;
$custom-dark: #000000;
JSON
{
  "hex": "#126c16",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 122.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.14396,
    "h": 143.3
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#126C16
secondary
#A3369F
accent
#3AE6EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C16

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

Preview Lab → · Contrast checker → · Palette generator →

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