#126631#126631

#126631 is a dark, moderate green. Relative luminance 0.099; OKLCH L 44.9% C 0.114 H 150.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#126631
RGBrgb(18, 102, 49)
HSLhsl(142, 70%, 24%)
HSVhsv(142, 82%, 40%)
CMYKcmyk(82.4%, 0%, 52%, 60%)
CIE-LABlab(37.58, -36.90, 23.15)
CIE-LCHlch(37.58, 43.56, 147.89°)
OKLaboklab(44.95% -0.0991 0.0564)
OKLCHoklch(44.95% 0.114 150.4)
XYZxyz(5.5547, 9.8524, 4.5141)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126631 #661247
analogous
#1D6612 #126631 #12665B
triadic
#126631 #311266 #663112
tetradic
#126631 #121D66 #661247 #665B12
square
#126631 #121D66 #661247 #665B12
split-complementary
#126631 #5B1266 #66121D
monochromatic
#051A0C #093218 #126631 #1B9A4A #24CE63

Accessibility & contrast

On white

7.07
#126631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#126631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126631
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126631#FFFFFF#000000##FFFFFF
##1266311.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C2D
Deuteranopia (green-blind)
#5D5635
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126631;
/* rgb */ color: rgb(18, 102, 49);
/* oklch */ color: oklch(44.9% 0.114 150.4);
Tailwind
colors: {
  custom: {
    50: '#60926a',
    500: '#126631',
    950: '#000000',
  },
}
SCSS
$custom: #126631;
$custom-light: #60926a;
$custom-dark: #000000;
JSON
{
  "hex": "#126631",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 49
  },
  "hsl": {
    "h": 142.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.11401,
    "h": 150.4
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#126631
secondary
#9E3677
accent
#3BABED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #126631

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

Preview Lab → · Contrast checker → · Palette generator →

#126631 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva