#126A37#126A37

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

Color values

HEX#126A37
RGBrgb(18, 106, 55)
HSLhsl(145, 71%, 24%)
HSVhsv(145, 83%, 42%)
CMYKcmyk(83%, 0%, 48.1%, 58.4%)
CIE-LABlab(39.09, -37.36, 21.68)
CIE-LCHlch(39.09, 43.19, 149.87°)
OKLaboklab(46.23% -0.1004 0.0533)
OKLCHoklch(46.23% 0.114 152)
XYZxyz(6.0925, 10.7118, 5.3602)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A37 #6A1245
analogous
#196A12 #126A37 #126A63
triadic
#126A37 #37126A #6A3712
tetradic
#126A37 #12196A #6A1245 #6A6312
square
#126A37 #12196A #6A1245 #6A6312
split-complementary
#126A37 #63126A #6A1219
monochromatic
#041A0E #09361C #126A37 #1B9E52 #24D36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126A37#FFFFFF#000000##FFFFFF
##126A371.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)
#6A6033
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#00685E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a37;
/* rgb */ color: rgb(18, 106, 55);
/* oklch */ color: oklch(46.2% 0.114 152.0);
Tailwind
colors: {
  custom: {
    50: '#61956e',
    500: '#126a37',
    950: '#000000',
  },
}
SCSS
$custom: #126a37;
$custom-light: #61956e;
$custom-dark: #000000;
JSON
{
  "hex": "#126a37",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 55
  },
  "hsl": {
    "h": 145.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.11363,
    "h": 152
  },
  "luminance": 0.10713
}

Semantic roles & 50–950 ramp

primary
#126A37
secondary
#A23674
accent
#3AA2EE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126A37

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

Preview Lab → · Contrast checker → · Palette generator →

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