#126428#126428

#126428 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.2% C 0.120 H 147.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#126428
RGBrgb(18, 100, 40)
HSLhsl(136, 69%, 23%)
HSVhsv(136, 82%, 39%)
CMYKcmyk(82%, 0%, 60%, 60.8%)
CIE-LABlab(36.73, -37.62, 27.05)
CIE-LCHlch(36.73, 46.34, 144.29°)
OKLaboklab(44.21% -0.1012 0.0644)
OKLCHoklch(44.21% 0.12 147.5)
XYZxyz(5.1892, 9.3955, 3.5471)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126428 #64124E
analogous
#256412 #126428 #126451
triadic
#126428 #281264 #642812
tetradic
#126428 #122564 #64124E #645112
square
#126428 #122564 #64124E #645112
split-complementary
#126428 #511264 #641225
monochromatic
#051A0A #093013 #126428 #1B983D #25CC51

Accessibility & contrast

On white

7.29
#126428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#126428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126428
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126428#FFFFFF#000000##FFFFFF
##1264281.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126428;
/* rgb */ color: rgb(18, 100, 40);
/* oklch */ color: oklch(44.2% 0.120 147.5);
Tailwind
colors: {
  custom: {
    50: '#609164',
    500: '#126428',
    950: '#000000',
  },
}
SCSS
$custom: #126428;
$custom-light: #609164;
$custom-dark: #000000;
JSON
{
  "hex": "#126428",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 136.098,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.11996,
    "h": 147.5
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#126428
secondary
#9C3681
accent
#3BBDEC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D05
muted
#797E7A

Preview Lab

Preview with #126428

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

Preview Lab → · Contrast checker → · Palette generator →

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