#126A26#126A26

#126A26 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.130 H 146.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#126A26
RGBrgb(18, 106, 38)
HSLhsl(134, 71%, 24%)
HSVhsv(134, 83%, 42%)
CMYKcmyk(83%, 0%, 64.2%, 58.4%)
CIE-LABlab(38.86, -40.14, 30.56)
CIE-LCHlch(38.86, 50.45, 142.72°)
OKLaboklab(45.96% -0.108 0.0719)
OKLCHoklch(45.96% 0.13 146.4)
XYZxyz(5.7529, 10.5759, 3.5715)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A26 #6A1256
analogous
#2A6A12 #126A26 #126A52
triadic
#126A26 #26126A #6A2612
tetradic
#126A26 #122A6A #6A1256 #6A5212
square
#126A26 #122A6A #6A1256 #6A5212
split-complementary
#126A26 #52126A #6A122A
monochromatic
#041A09 #093613 #126A26 #1B9E39 #24D34C

Accessibility & contrast

On white

6.74
#126A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#126A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A26
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A26#FFFFFF#000000##FFFFFF
##126A261.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601F
Deuteranopia (green-blind)
#62592C
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a26;
/* rgb */ color: rgb(18, 106, 38);
/* oklch */ color: oklch(46.0% 0.130 146.4);
Tailwind
colors: {
  custom: {
    50: '#619663',
    500: '#126a26',
    950: '#000000',
  },
}
SCSS
$custom: #126a26;
$custom-light: #619663;
$custom-dark: #000000;
JSON
{
  "hex": "#126a26",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 133.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.12976,
    "h": 146.4
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#126A26
secondary
#A23689
accent
#3AC5EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #126A26

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

Preview Lab → · Contrast checker → · Palette generator →

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