#428A18#428A18

#428A18 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.5% C 0.160 H 137.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#428A18
RGBrgb(66, 138, 24)
HSLhsl(98, 70%, 32%)
HSVhsv(98, 83%, 54%)
CMYKcmyk(52.2%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.15, -42.15, 49.28)
CIE-LCHlch(51.15, 64.85, 130.54°)
OKLaboklab(56.49% -0.1171 0.1089)
OKLCHoklch(56.49% 0.16 137.1)
XYZxyz(11.4998, 19.4003, 4.0026)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428A18 #60188A
analogous
#7B8A18 #428A18 #188A27
triadic
#428A18 #18428A #8A1842
tetradic
#428A18 #187B8A #60188A #8A2718
square
#428A18 #187B8A #60188A #8A2718
split-complementary
#428A18 #27188A #8A187B
monochromatic
#102206 #29560F #428A18 #5BBE21 #79DE3F

Accessibility & contrast

On white

4.30
#428A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#428A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428A18
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428A18#FFFFFF#000000##000000
##428A181.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#3D8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #428a18;
/* rgb */ color: rgb(66, 138, 24);
/* oklch */ color: oklch(56.5% 0.160 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ead60',
    500: '#428a18',
    950: '#000000',
  },
}
SCSS
$custom: #428a18;
$custom-light: #7ead60;
$custom-dark: #000000;
JSON
{
  "hex": "#428a18",
  "rgb": {
    "r": 66,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 97.895,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.15995,
    "h": 137.1
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#428A18
secondary
#8F40BD
accent
#3BEDAB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428A18

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

Preview Lab → · Contrast checker → · Palette generator →

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