#126536#126536

#126536 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.7% C 0.108 H 152.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#126536
RGBrgb(18, 101, 54)
HSLhsl(146, 70%, 23%)
HSVhsv(146, 82%, 40%)
CMYKcmyk(82.2%, 0%, 46.5%, 60.4%)
CIE-LABlab(37.30, -35.55, 19.95)
CIE-LCHlch(37.30, 40.77, 150.70°)
OKLaboklab(44.75% -0.0956 0.0492)
OKLCHoklch(44.75% 0.108 152.8)
XYZxyz(5.5685, 9.7016, 5.0684)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126536 #651241
analogous
#176512 #126536 #12655F
triadic
#126536 #361265 #653612
tetradic
#126536 #121765 #651241 #655F12
square
#126536 #121765 #651241 #655F12
split-complementary
#126536 #5F1265 #651217
monochromatic
#051A0E #09311A #126536 #1B9952 #25CD6E

Accessibility & contrast

On white

7.14
#126536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#126536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126536
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126536#FFFFFF#000000##FFFFFF
##1265361.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C33
Deuteranopia (green-blind)
#5B5539
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126536;
/* rgb */ color: rgb(18, 101, 54);
/* oklch */ color: oklch(44.7% 0.108 152.8);
Tailwind
colors: {
  custom: {
    50: '#5f926d',
    500: '#126536',
    950: '#000000',
  },
}
SCSS
$custom: #126536;
$custom-light: #5f926d;
$custom-dark: #000000;
JSON
{
  "hex": "#126536",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 54
  },
  "hsl": {
    "h": 146.024,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.10754,
    "h": 152.8
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#126536
secondary
#9D3670
accent
#3BA0ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126536

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

Preview Lab → · Contrast checker → · Palette generator →

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