#428F18#428F18

#428F18 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.166 H 137.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#428F18
RGBrgb(66, 143, 24)
HSLhsl(99, 71%, 33%)
HSVhsv(99, 83%, 56%)
CMYKcmyk(53.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.80, -44.12, 50.80)
CIE-LCHlch(52.80, 67.29, 130.98°)
OKLaboklab(57.86% -0.1224 0.1121)
OKLCHoklch(57.86% 0.166 137.5)
XYZxyz(12.2337, 20.8682, 4.2473)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F18 #65188F
analogous
#7D8F18 #428F18 #188F2A
triadic
#428F18 #18428F #8F1842
tetradic
#428F18 #187D8F #65188F #8F2A18
square
#428F18 #187D8F #65188F #8F2A18
split-complementary
#428F18 #2A188F #8F187D
monochromatic
#122606 #2A5B0F #428F18 #5AC321 #7ADF42

Accessibility & contrast

On white

4.06
#428F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#428F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F18#FFFFFF#000000##000000
##428F181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#3C8A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f18;
/* rgb */ color: rgb(66, 143, 24);
/* oklch */ color: oklch(57.9% 0.166 137.5);
Tailwind
colors: {
  custom: {
    50: '#7fb061',
    500: '#428f18',
    950: '#000000',
  },
}
SCSS
$custom: #428f18;
$custom-light: #7fb061;
$custom-dark: #000000;
JSON
{
  "hex": "#428f18",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 98.824,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.166,
    "h": 137.5
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#428F18
secondary
#9443C0
accent
#3AEEAE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #428F18

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

Preview Lab → · Contrast checker → · Palette generator →

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