#126A38#126A38

#126A38 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.113 H 152.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#126A38
RGBrgb(18, 106, 56)
HSLhsl(146, 71%, 24%)
HSVhsv(146, 83%, 42%)
CMYKcmyk(83%, 0%, 47.2%, 58.4%)
CIE-LABlab(39.11, -37.16, 21.14)
CIE-LCHlch(39.11, 42.75, 150.37°)
OKLaboklab(46.25% -0.0999 0.052)
OKLCHoklch(46.25% 0.113 152.5)
XYZxyz(6.1167, 10.7214, 5.4877)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A38 #6A1244
analogous
#186A12 #126A38 #126A64
triadic
#126A38 #38126A #6A3812
tetradic
#126A38 #12186A #6A1244 #6A6412
square
#126A38 #12186A #6A1244 #6A6412
split-complementary
#126A38 #64126A #6A1218
monochromatic
#041A0E #09361C #126A38 #1B9E54 #24D36F

Accessibility & contrast

On white

6.68
#126A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#126A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A38
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A38#FFFFFF#000000##FFFFFF
##126A381.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6034
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#00685E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a38;
/* rgb */ color: rgb(18, 106, 56);
/* oklch */ color: oklch(46.3% 0.113 152.5);
Tailwind
colors: {
  custom: {
    50: '#61956f',
    500: '#126a38',
    950: '#000000',
  },
}
SCSS
$custom: #126a38;
$custom-light: #61956f;
$custom-dark: #000000;
JSON
{
  "hex": "#126a38",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 56
  },
  "hsl": {
    "h": 145.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.11262,
    "h": 152.5
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#126A38
secondary
#A23673
accent
#3AA0EE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126A38

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

Preview Lab → · Contrast checker → · Palette generator →

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