#126A3D#126A3D

#126A3D is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.108 H 154.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#126A3D
RGBrgb(18, 106, 61)
HSLhsl(149, 71%, 24%)
HSVhsv(149, 83%, 42%)
CMYKcmyk(83%, 0%, 42.5%, 58.4%)
CIE-LABlab(39.20, -36.15, 18.37)
CIE-LCHlch(39.20, 40.55, 153.06°)
OKLaboklab(46.35% -0.0974 0.0457)
OKLCHoklch(46.35% 0.108 154.8)
XYZxyz(6.2452, 10.7728, 6.1642)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A3D #6A123F
analogous
#136A12 #126A3D #126A69
triadic
#126A3D #3D126A #6A3D12
tetradic
#126A3D #12136A #6A123F #6A6912
square
#126A3D #12136A #6A123F #6A6912
split-complementary
#126A3D #69126A #6A1213
monochromatic
#041A0F #09361F #126A3D #1B9E5B #24D379

Accessibility & contrast

On white

6.66
#126A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#126A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A3D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A3D#FFFFFF#000000##FFFFFF
##126A3D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613A
Deuteranopia (green-blind)
#5F5940
Tritanopia (blue-blind)
#00695F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a3d;
/* rgb */ color: rgb(18, 106, 61);
/* oklch */ color: oklch(46.4% 0.108 154.8);
Tailwind
colors: {
  custom: {
    50: '#619573',
    500: '#126a3d',
    950: '#000000',
  },
}
SCSS
$custom: #126a3d;
$custom-light: #619573;
$custom-dark: #000000;
JSON
{
  "hex": "#126a3d",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 61
  },
  "hsl": {
    "h": 149.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46351,
    "c": 0.10756,
    "h": 154.8
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#126A3D
secondary
#A2366D
accent
#3A96EE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #126A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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