#126032#126032

#126032 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.104 H 152.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#126032
RGBrgb(18, 96, 50)
HSLhsl(145, 68%, 22%)
HSVhsv(145, 81%, 38%)
CMYKcmyk(81.3%, 0%, 47.9%, 62.4%)
CIE-LABlab(35.45, -34.31, 19.88)
CIE-LCHlch(35.45, 39.66, 149.92°)
OKLaboklab(43.19% -0.0923 0.0489)
OKLCHoklch(43.19% 0.104 152.1)
XYZxyz(5.0076, 8.7240, 4.4370)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126032 #601240
analogous
#196012 #126032 #126059
triadic
#126032 #321260 #603212
tetradic
#126032 #121960 #601240 #605912
square
#126032 #121960 #601240 #605912
split-complementary
#126032 #591260 #601219
monochromatic
#051A0D #082C17 #126032 #1C944D #25C768

Accessibility & contrast

On white

7.65
#126032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#126032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126032
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126032#FFFFFF#000000##FFFFFF
##1260321.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572F
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126032;
/* rgb */ color: rgb(18, 96, 50);
/* oklch */ color: oklch(43.2% 0.104 152.1);
Tailwind
colors: {
  custom: {
    50: '#5e8e6a',
    500: '#126032',
    950: '#000000',
  },
}
SCSS
$custom: #126032;
$custom-light: #5e8e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#126032",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 50
  },
  "hsl": {
    "h": 144.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.10443,
    "h": 152.1
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#126032
secondary
#983670
accent
#3DA4EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #126032

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

Preview Lab → · Contrast checker → · Palette generator →

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