#126C14#126C14

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

Color values

HEX#126C14
RGBrgb(18, 108, 20)
HSLhsl(121, 71%, 25%)
HSVhsv(121, 83%, 42%)
CMYKcmyk(83.3%, 0%, 81.5%, 57.6%)
CIE-LABlab(39.42, -42.72, 38.98)
CIE-LCHlch(39.42, 57.83, 137.63°)
OKLaboklab(46.38% -0.1159 0.0873)
OKLCHoklch(46.38% 0.145 143)
XYZxyz(5.7379, 10.9035, 2.4639)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C14 #6C126A
analogous
#3D6C12 #126C14 #126C41
triadic
#126C14 #14126C #6C1412
tetradic
#126C14 #123D6C #6C126A #6C4112
square
#126C14 #123D6C #6C126A #6C4112
split-complementary
#126C14 #41126C #6C123D
monochromatic
#041A05 #09380A #126C14 #1BA01E #23D527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126C14#FFFFFF#000000##FFFFFF
##126C141.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)
#6E6100
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126c14;
/* rgb */ color: rgb(18, 108, 20);
/* oklch */ color: oklch(46.4% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#639759',
    500: '#126c14',
    950: '#000000',
  },
}
SCSS
$custom: #126c14;
$custom-light: #639759;
$custom-dark: #000000;
JSON
{
  "hex": "#126c14",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 121.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.14509,
    "h": 143
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#126C14
secondary
#A336A1
accent
#3AEAEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C14

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

Preview Lab → · Contrast checker → · Palette generator →

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