#126C1A#126C1A

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

Color values

HEX#126C1A
RGBrgb(18, 108, 26)
HSLhsl(125, 71%, 25%)
HSVhsv(125, 83%, 42%)
CMYKcmyk(83.3%, 0%, 75.9%, 57.6%)
CIE-LABlab(39.46, -42.22, 36.72)
CIE-LCHlch(39.46, 55.95, 138.98°)
OKLaboklab(46.43% -0.1142 0.0835)
OKLCHoklch(46.43% 0.141 143.8)
XYZxyz(5.7981, 10.9276, 2.7807)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C1A #6C1264
analogous
#376C12 #126C1A #126C47
triadic
#126C1A #1A126C #6C1A12
tetradic
#126C1A #12376C #6C1264 #6C4712
square
#126C1A #12376C #6C1264 #6C4712
split-complementary
#126C1A #47126C #6C1237
monochromatic
#041A06 #09380D #126C1A #1BA027 #23D533

Accessibility & contrast

On white

6.59
#126C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#126C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C1A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C1A#FFFFFF#000000##FFFFFF
##126C1A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126c1a;
/* rgb */ color: rgb(18, 108, 26);
/* oklch */ color: oklch(46.4% 0.141 143.8);
Tailwind
colors: {
  custom: {
    50: '#63975c',
    500: '#126c1a',
    950: '#000000',
  },
}
SCSS
$custom: #126c1a;
$custom-light: #63975c;
$custom-dark: #000000;
JSON
{
  "hex": "#126c1a",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 125.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.14147,
    "h": 143.8
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#126C1A
secondary
#A3369A
accent
#3ADEEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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