#126531#126531

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

Color values

HEX#126531
RGBrgb(18, 101, 49)
HSLhsl(142, 70%, 23%)
HSVhsv(142, 82%, 40%)
CMYKcmyk(82.2%, 0%, 51.5%, 60.4%)
CIE-LABlab(37.22, -36.51, 22.70)
CIE-LCHlch(37.22, 42.99, 148.12°)
OKLaboklab(44.65% -0.0981 0.0553)
OKLCHoklch(44.65% 0.113 150.6)
XYZxyz(5.4570, 9.6571, 4.4815)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126531 #651246
analogous
#1C6512 #126531 #12655A
triadic
#126531 #311265 #653112
tetradic
#126531 #121C65 #651246 #655A12
square
#126531 #121C65 #651246 #655A12
split-complementary
#126531 #5A1265 #65121C
monochromatic
#051A0D #093118 #126531 #1B994A #25CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126531#FFFFFF#000000##FFFFFF
##1265311.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)
#665C2D
Deuteranopia (green-blind)
#5C5535
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126531;
/* rgb */ color: rgb(18, 101, 49);
/* oklch */ color: oklch(44.7% 0.113 150.6);
Tailwind
colors: {
  custom: {
    50: '#60926a',
    500: '#126531',
    950: '#000000',
  },
}
SCSS
$custom: #126531;
$custom-light: #60926a;
$custom-dark: #000000;
JSON
{
  "hex": "#126531",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 49
  },
  "hsl": {
    "h": 142.41,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.11261,
    "h": 150.6
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#126531
secondary
#9D3676
accent
#3BAAED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #126531

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

Preview Lab → · Contrast checker → · Palette generator →

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