#126A1A#126A1A

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

Color values

HEX#126A1A
RGBrgb(18, 106, 26)
HSLhsl(125, 71%, 24%)
HSVhsv(125, 83%, 42%)
CMYKcmyk(83%, 0%, 75.5%, 58.4%)
CIE-LABlab(38.74, -41.52, 35.98)
CIE-LCHlch(38.74, 54.95, 139.09°)
OKLaboklab(45.83% -0.1123 0.0819)
OKLCHoklch(45.83% 0.139 143.9)
XYZxyz(5.5896, 10.5106, 2.7112)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A1A #6A1262
analogous
#366A12 #126A1A #126A46
triadic
#126A1A #1A126A #6A1A12
tetradic
#126A1A #12366A #6A1262 #6A4612
square
#126A1A #12366A #6A1262 #6A4612
split-complementary
#126A1A #46126A #6A1236
monochromatic
#041A06 #09360D #126A1A #1B9E27 #24D334

Accessibility & contrast

On white

6.77
#126A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A1A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A1A#FFFFFF#000000##FFFFFF
##126A1A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0D
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a1a;
/* rgb */ color: rgb(18, 106, 26);
/* oklch */ color: oklch(45.8% 0.139 143.9);
Tailwind
colors: {
  custom: {
    50: '#62965c',
    500: '#126a1a',
    950: '#000000',
  },
}
SCSS
$custom: #126a1a;
$custom-light: #62965c;
$custom-dark: #000000;
JSON
{
  "hex": "#126a1a",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 125.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.13903,
    "h": 143.9
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#126A1A
secondary
#A23698
accent
#3ADDEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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