#126A14#126A14

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

Color values

HEX#126A14
RGBrgb(18, 106, 20)
HSLhsl(121, 71%, 24%)
HSVhsv(121, 83%, 42%)
CMYKcmyk(83%, 0%, 81.1%, 58.4%)
CIE-LABlab(38.70, -42.04, 38.28)
CIE-LCHlch(38.70, 56.86, 137.68°)
OKLaboklab(45.78% -0.114 0.0859)
OKLCHoklch(45.78% 0.143 143)
XYZxyz(5.5294, 10.4865, 2.3944)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A14 #6A1268
analogous
#3C6A12 #126A14 #126A40
triadic
#126A14 #14126A #6A1412
tetradic
#126A14 #123C6A #6A1268 #6A4012
square
#126A14 #123C6A #6A1268 #6A4012
split-complementary
#126A14 #40126A #6A123C
monochromatic
#041A05 #09360A #126A14 #1B9E1E #24D328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126A14#FFFFFF#000000##FFFFFF
##126A141.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)
#6C5F01
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a14;
/* rgb */ color: rgb(18, 106, 20);
/* oklch */ color: oklch(45.8% 0.143 143.0);
Tailwind
colors: {
  custom: {
    50: '#629659',
    500: '#126a14',
    950: '#000000',
  },
}
SCSS
$custom: #126a14;
$custom-light: #629659;
$custom-dark: #000000;
JSON
{
  "hex": "#126a14",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 121.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.14275,
    "h": 143
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#126A14
secondary
#A2369F
accent
#3AEAEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A14

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

Preview Lab → · Contrast checker → · Palette generator →

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