#126532#126532

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

Color values

HEX#126532
RGBrgb(18, 101, 50)
HSLhsl(143, 70%, 23%)
HSVhsv(143, 82%, 40%)
CMYKcmyk(82.2%, 0%, 50.5%, 60.4%)
CIE-LABlab(37.24, -36.32, 22.16)
CIE-LCHlch(37.24, 42.55, 148.61°)
OKLaboklab(44.67% -0.0976 0.0541)
OKLCHoklch(44.67% 0.112 151)
XYZxyz(5.4784, 9.6656, 4.5939)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126532 #651245
analogous
#1B6512 #126532 #12655B
triadic
#126532 #321265 #653212
tetradic
#126532 #121B65 #651245 #655B12
square
#126532 #121B65 #651245 #655B12
split-complementary
#126532 #5B1265 #65121B
monochromatic
#051A0D #093118 #126532 #1B994C #25CD65

Accessibility & contrast

On white

7.16
#126532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#126532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126532
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126532#FFFFFF#000000##FFFFFF
##1265321.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C2E
Deuteranopia (green-blind)
#5C5536
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126532;
/* rgb */ color: rgb(18, 101, 50);
/* oklch */ color: oklch(44.7% 0.112 151.0);
Tailwind
colors: {
  custom: {
    50: '#60926b',
    500: '#126532',
    950: '#000000',
  },
}
SCSS
$custom: #126532;
$custom-light: #60926b;
$custom-dark: #000000;
JSON
{
  "hex": "#126532",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 50
  },
  "hsl": {
    "h": 143.133,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.11159,
    "h": 151
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#126532
secondary
#9D3675
accent
#3BA8ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #126532

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

Preview Lab → · Contrast checker → · Palette generator →

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