#126D1E#126D1E

#126D1E is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.140 H 144.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#126D1E
RGBrgb(18, 109, 30)
HSLhsl(128, 72%, 25%)
HSVhsv(128, 83%, 43%)
CMYKcmyk(83.5%, 0%, 72.5%, 57.3%)
CIE-LABlab(39.85, -42.17, 35.43)
CIE-LCHlch(39.85, 55.07, 139.96°)
OKLaboklab(46.76% -0.1139 0.0813)
OKLCHoklch(46.76% 0.14 144.5)
XYZxyz(5.9520, 11.1589, 3.0682)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D1E #6D1261
analogous
#346D12 #126D1E #126D4C
triadic
#126D1E #1E126D #6D1E12
tetradic
#126D1E #12346D #6D1261 #6D4C12
square
#126D1E #12346D #6D1261 #6D4C12
split-complementary
#126D1E #4C126D #6D1234
monochromatic
#041A07 #093810 #126D1E #1BA22C #23D63B

Accessibility & contrast

On white

6.50
#126D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#126D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D1E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D1E#FFFFFF#000000##FFFFFF
##126D1E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6212
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126d1e;
/* rgb */ color: rgb(18, 109, 30);
/* oklch */ color: oklch(46.8% 0.140 144.5);
Tailwind
colors: {
  custom: {
    50: '#63985e',
    500: '#126d1e',
    950: '#000000',
  },
}
SCSS
$custom: #126d1e;
$custom-light: #63985e;
$custom-dark: #000000;
JSON
{
  "hex": "#126d1e",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 127.912,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.13993,
    "h": 144.5
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#126D1E
secondary
#A43796
accent
#39D7EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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