#428D18#428D18

#428D18 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.3% C 0.164 H 137.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#428D18
RGBrgb(66, 141, 24)
HSLhsl(98, 71%, 32%)
HSVhsv(98, 83%, 55%)
CMYKcmyk(53.2%, 0%, 83%, 44.7%)
CIE-LABlab(52.14, -43.34, 50.19)
CIE-LCHlch(52.14, 66.32, 130.81°)
OKLaboklab(57.31% -0.1203 0.1109)
OKLCHoklch(57.31% 0.164 137.3)
XYZxyz(11.9361, 20.2731, 4.1481)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428D18 #63188D
analogous
#7C8D18 #428D18 #188D29
triadic
#428D18 #18428D #8D1842
tetradic
#428D18 #187C8D #63188D #8D2918
square
#428D18 #187C8D #63188D #8D2918
split-complementary
#428D18 #29188D #8D187C
monochromatic
#112406 #2A590F #428D18 #5AC121 #79DF41

Accessibility & contrast

On white

4.15
#428D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#428D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428D18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428D18#FFFFFF#000000##000000
##428D181.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#3D8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #428d18;
/* rgb */ color: rgb(66, 141, 24);
/* oklch */ color: oklch(57.3% 0.164 137.3);
Tailwind
colors: {
  custom: {
    50: '#7faf60',
    500: '#428d18',
    950: '#000000',
  },
}
SCSS
$custom: #428d18;
$custom-light: #7faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#428d18",
  "rgb": {
    "r": 66,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 98.462,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.16359,
    "h": 137.3
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#428D18
secondary
#9242BF
accent
#3AEEAD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428D18

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

Preview Lab → · Contrast checker → · Palette generator →

#428D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva