#428C18#428C18

#428C18 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.0% C 0.162 H 137.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#428C18
RGBrgb(66, 140, 24)
HSLhsl(98, 71%, 32%)
HSVhsv(98, 83%, 55%)
CMYKcmyk(52.9%, 0%, 82.9%, 45.1%)
CIE-LABlab(51.81, -42.95, 49.89)
CIE-LCHlch(51.81, 65.83, 130.72°)
OKLaboklab(57.04% -0.1192 0.1102)
OKLCHoklch(57.04% 0.162 137.3)
XYZxyz(11.7893, 19.9795, 4.0992)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428C18 #62188C
analogous
#7C8C18 #428C18 #188C28
triadic
#428C18 #18428C #8C1842
tetradic
#428C18 #187C8C #62188C #8C2818
square
#428C18 #187C8C #62188C #8C2818
split-complementary
#428C18 #28188C #8C187C
monochromatic
#112406 #29580F #428C18 #5BC021 #79DE40

Accessibility & contrast

On white

4.20
#428C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#428C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428C18
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428C18#FFFFFF#000000##000000
##428C181.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#3D8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #428c18;
/* rgb */ color: rgb(66, 140, 24);
/* oklch */ color: oklch(57.0% 0.162 137.3);
Tailwind
colors: {
  custom: {
    50: '#7fae60',
    500: '#428c18',
    950: '#000000',
  },
}
SCSS
$custom: #428c18;
$custom-light: #7fae60;
$custom-dark: #000000;
JSON
{
  "hex": "#428c18",
  "rgb": {
    "r": 66,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 98.276,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.16238,
    "h": 137.3
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#428C18
secondary
#9141BF
accent
#3AEDAD
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428C18

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

Preview Lab → · Contrast checker → · Palette generator →

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