#126A2A#126A2A

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

Color values

HEX#126A2A
RGBrgb(18, 106, 42)
HSLhsl(136, 71%, 24%)
HSVhsv(136, 83%, 42%)
CMYKcmyk(83%, 0%, 60.4%, 58.4%)
CIE-LABlab(38.90, -39.57, 28.57)
CIE-LCHlch(38.90, 48.80, 144.17°)
OKLaboklab(46.02% -0.1064 0.0679)
OKLCHoklch(46.02% 0.126 147.4)
XYZxyz(5.8210, 10.6031, 3.9299)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A2A #6A1252
analogous
#266A12 #126A2A #126A56
triadic
#126A2A #2A126A #6A2A12
tetradic
#126A2A #12266A #6A1252 #6A5612
square
#126A2A #12266A #6A1252 #6A5612
split-complementary
#126A2A #56126A #6A1226
monochromatic
#041A0A #093615 #126A2A #1B9E3F #24D353

Accessibility & contrast

On white

6.73
#126A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126A2A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A2A#FFFFFF#000000##FFFFFF
##126A2A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6024
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a2a;
/* rgb */ color: rgb(18, 106, 42);
/* oklch */ color: oklch(46.0% 0.126 147.4);
Tailwind
colors: {
  custom: {
    50: '#619665',
    500: '#126a2a',
    950: '#000000',
  },
}
SCSS
$custom: #126a2a;
$custom-light: #619665;
$custom-dark: #000000;
JSON
{
  "hex": "#126a2a",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 136.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.12621,
    "h": 147.4
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#126A2A
secondary
#A23684
accent
#3ABDEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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