#428918#428918

#428918 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.2% C 0.159 H 137.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#428918
RGBrgb(66, 137, 24)
HSLhsl(98, 70%, 32%)
HSVhsv(98, 82%, 54%)
CMYKcmyk(51.8%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.82, -41.75, 48.97)
CIE-LCHlch(50.82, 64.36, 130.45°)
OKLaboklab(56.22% -0.116 0.1083)
OKLCHoklch(56.22% 0.159 137)
XYZxyz(11.3569, 19.1147, 3.9550)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428918 #5F1889
analogous
#7B8918 #428918 #188927
triadic
#428918 #184289 #891842
tetradic
#428918 #187B89 #5F1889 #892718
square
#428918 #187B89 #5F1889 #892718
split-complementary
#428918 #271889 #89187B
monochromatic
#102106 #29550F #428918 #5BBD21 #79DD3E

Accessibility & contrast

On white

4.35
#428918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#428918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428918
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428918#FFFFFF#000000##000000
##4289181.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#3E8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #428918;
/* rgb */ color: rgb(66, 137, 24);
/* oklch */ color: oklch(56.2% 0.159 137.0);
Tailwind
colors: {
  custom: {
    50: '#7eac60',
    500: '#428918',
    950: '#000000',
  },
}
SCSS
$custom: #428918;
$custom-light: #7eac60;
$custom-dark: #000000;
JSON
{
  "hex": "#428918",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 97.699,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.15872,
    "h": 137
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#428918
secondary
#8E40BD
accent
#3BEDAB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428918

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

Preview Lab → · Contrast checker → · Palette generator →

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