#126636#126636

#126636 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.109 H 152.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#126636
RGBrgb(18, 102, 54)
HSLhsl(146, 70%, 24%)
HSVhsv(146, 82%, 40%)
CMYKcmyk(82.4%, 0%, 47.1%, 60%)
CIE-LABlab(37.66, -35.96, 20.41)
CIE-LCHlch(37.66, 41.35, 150.42°)
OKLaboklab(45.04% -0.0967 0.0503)
OKLCHoklch(45.04% 0.109 152.5)
XYZxyz(5.6662, 9.8970, 5.1010)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126636 #661242
analogous
#186612 #126636 #126660
triadic
#126636 #361266 #663612
tetradic
#126636 #121866 #661242 #666012
square
#126636 #121866 #661242 #666012
split-complementary
#126636 #601266 #661218
monochromatic
#051A0E #09321A #126636 #1B9A52 #24CE6D

Accessibility & contrast

On white

7.05
#126636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#126636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126636
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126636#FFFFFF#000000##FFFFFF
##1266361.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D32
Deuteranopia (green-blind)
#5C5639
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #126636;
/* rgb */ color: rgb(18, 102, 54);
/* oklch */ color: oklch(45.0% 0.109 152.5);
Tailwind
colors: {
  custom: {
    50: '#60926e',
    500: '#126636',
    950: '#000000',
  },
}
SCSS
$custom: #126636;
$custom-light: #60926e;
$custom-dark: #000000;
JSON
{
  "hex": "#126636",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 54
  },
  "hsl": {
    "h": 145.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.10897,
    "h": 152.5
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#126636
secondary
#9E3671
accent
#3BA1ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126636

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

Preview Lab → · Contrast checker → · Palette generator →

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