#126A31#126A31

#126A31 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.1% C 0.120 H 149.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#126A31
RGBrgb(18, 106, 49)
HSLhsl(141, 71%, 24%)
HSVhsv(141, 83%, 42%)
CMYKcmyk(83%, 0%, 53.8%, 58.4%)
CIE-LABlab(39.00, -38.45, 24.92)
CIE-LCHlch(39.00, 45.82, 147.04°)
OKLaboklab(46.12% -0.1032 0.0603)
OKLCHoklch(46.12% 0.12 149.7)
XYZxyz(5.9574, 10.6577, 4.6483)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A31 #6A124B
analogous
#1F6A12 #126A31 #126A5D
triadic
#126A31 #31126A #6A3112
tetradic
#126A31 #121F6A #6A124B #6A5D12
square
#126A31 #121F6A #6A124B #6A5D12
split-complementary
#126A31 #5D126A #6A121F
monochromatic
#041A0C #093619 #126A31 #1B9E49 #24D361

Accessibility & contrast

On white

6.71
#126A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#126A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A31
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A31#FFFFFF#000000##FFFFFF
##126A311.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602C
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #126a31;
/* rgb */ color: rgb(18, 106, 49);
/* oklch */ color: oklch(46.1% 0.120 149.7);
Tailwind
colors: {
  custom: {
    50: '#61956a',
    500: '#126a31',
    950: '#000000',
  },
}
SCSS
$custom: #126a31;
$custom-light: #61956a;
$custom-dark: #000000;
JSON
{
  "hex": "#126a31",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 49
  },
  "hsl": {
    "h": 141.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46124,
    "c": 0.11958,
    "h": 149.7
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#126A31
secondary
#A2367C
accent
#3AAEEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #126A31

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

Preview Lab → · Contrast checker → · Palette generator →

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