#428218#428218

#428218 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.150 H 136.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#428218
RGBrgb(66, 130, 24)
HSLhsl(96, 69%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(49.2%, 0%, 81.5%, 49%)
CIE-LABlab(48.50, -38.90, 46.81)
CIE-LCHlch(48.50, 60.86, 129.73°)
OKLaboklab(54.31% -0.1084 0.1038)
OKLCHoklch(54.31% 0.15 136.3)
XYZxyz(10.3940, 17.1888, 3.6340)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428218 #581882
analogous
#778218 #428218 #188223
triadic
#428218 #184282 #821842
tetradic
#428218 #187782 #581882 #822318
square
#428218 #187782 #581882 #822318
split-complementary
#428218 #231882 #821877
monochromatic
#0E1B05 #284E0E #428218 #5CB622 #7ADB3A

Accessibility & contrast

On white

4.73
#428218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#428218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428218
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428218#FFFFFF#000000##FFFFFF
##4282181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#3F7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428218;
/* rgb */ color: rgb(66, 130, 24);
/* oklch */ color: oklch(54.3% 0.150 136.3);
Tailwind
colors: {
  custom: {
    50: '#7da75f',
    500: '#428218',
    950: '#000000',
  },
}
SCSS
$custom: #428218;
$custom-light: #7da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#428218",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 96.226,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.15005,
    "h": 136.3
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#428218
secondary
#8740B6
accent
#3CECA6
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428218

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

Preview Lab → · Contrast checker → · Palette generator →

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