#428126#428126

#428126 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.140 H 137.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#428126
RGBrgb(66, 129, 38)
HSLhsl(102, 54%, 33%)
HSVhsv(102, 71%, 51%)
CMYKcmyk(48.8%, 0%, 70.5%, 49.4%)
CIE-LABlab(48.26, -37.47, 41.32)
CIE-LCHlch(48.26, 55.77, 132.20°)
OKLaboklab(54.14% -0.1036 0.0943)
OKLCHoklch(54.14% 0.14 137.7)
XYZxyz(10.4465, 16.9980, 4.5638)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428126 #652681
analogous
#708126 #428126 #268137
triadic
#428126 #264281 #812642
tetradic
#428126 #267081 #652681 #813726
square
#428126 #267081 #652681 #813726
split-complementary
#428126 #372681 #812670
monochromatic
#12220A #2A5218 #428126 #5AB034 #7ACD55

Accessibility & contrast

On white

4.77
#428126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#428126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428126
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428126#FFFFFF#000000##FFFFFF
##4281261.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857619
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#3E7C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428126;
/* rgb */ color: rgb(66, 129, 38);
/* oklch */ color: oklch(54.1% 0.140 137.7);
Tailwind
colors: {
  custom: {
    50: '#7ca666',
    500: '#428126',
    950: '#000000',
  },
}
SCSS
$custom: #428126;
$custom-light: #7ca666;
$custom-dark: #000000;
JSON
{
  "hex": "#428126",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 101.538,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.1401,
    "h": 137.7
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#428126
secondary
#9451B1
accent
#4ADEB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #428126

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

Preview Lab → · Contrast checker → · Palette generator →

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