#428122#428122

#428122 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.143 H 137.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#428122
RGBrgb(66, 129, 34)
HSLhsl(100, 58%, 32%)
HSVhsv(100, 74%, 51%)
CMYKcmyk(48.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(48.23, -37.80, 42.94)
CIE-LCHlch(48.23, 57.21, 131.36°)
OKLaboklab(54.11% -0.1048 0.0972)
OKLCHoklch(54.11% 0.143 137.2)
XYZxyz(10.3854, 16.9736, 4.2420)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428122 #612281
analogous
#728122 #428122 #228131
triadic
#428122 #224281 #812242
tetradic
#428122 #227281 #612281 #813122
square
#428122 #227281 #612281 #813122
split-complementary
#428122 #312281 #812272
monochromatic
#102008 #295115 #428122 #5BB12F #79D04D

Accessibility & contrast

On white

4.78
#428122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#428122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428122
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428122#FFFFFF#000000##FFFFFF
##4281221.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#3E7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #428122;
/* rgb */ color: rgb(66, 129, 34);
/* oklch */ color: oklch(54.1% 0.143 137.2);
Tailwind
colors: {
  custom: {
    50: '#7da663',
    500: '#428122',
    950: '#000000',
  },
}
SCSS
$custom: #428122;
$custom-light: #7da663;
$custom-dark: #000000;
JSON
{
  "hex": "#428122",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 99.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.14289,
    "h": 137.2
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#428122
secondary
#904BB3
accent
#46E1AD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #428122

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

Preview Lab → · Contrast checker → · Palette generator →

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