#428917#428917

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

Color values

HEX#428917
RGBrgb(66, 137, 23)
HSLhsl(97, 71%, 31%)
HSVhsv(97, 83%, 54%)
CMYKcmyk(51.8%, 0%, 83.2%, 46.3%)
CIE-LABlab(50.82, -41.81, 49.27)
CIE-LCHlch(50.82, 64.61, 130.32°)
OKLaboklab(56.22% -0.1162 0.1088)
OKLCHoklch(56.22% 0.159 136.9)
XYZxyz(11.3467, 19.1106, 3.9013)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428917 #5E1789
analogous
#7B8917 #428917 #178925
triadic
#428917 #174289 #891742
tetradic
#428917 #177B89 #5E1789 #892517
square
#428917 #177B89 #5E1789 #892517
split-complementary
#428917 #251789 #89177B
monochromatic
#102005 #29550E #428917 #5BBD20 #79DE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428917#FFFFFF#000000##000000
##4289171.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)
#857725
Tritanopia (blue-blind)
#3E8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #428917;
/* rgb */ color: rgb(66, 137, 23);
/* oklch */ color: oklch(56.2% 0.159 136.9);
Tailwind
colors: {
  custom: {
    50: '#7eac5f',
    500: '#428917',
    950: '#000000',
  },
}
SCSS
$custom: #428917;
$custom-light: #7eac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#428917",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 97.368,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.15919,
    "h": 136.9
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#428917
secondary
#8D3FBD
accent
#3AEEAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428917

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

Preview Lab → · Contrast checker → · Palette generator →

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