#428017#428017

#428017 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.148 H 135.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#428017
RGBrgb(66, 128, 23)
HSLhsl(95, 70%, 30%)
HSVhsv(95, 82%, 50%)
CMYKcmyk(48.4%, 0%, 82%, 49.8%)
CIE-LABlab(47.83, -38.13, 46.50)
CIE-LCHlch(47.83, 60.13, 129.35°)
OKLaboklab(53.76% -0.1064 0.1029)
OKLCHoklch(53.76% 0.148 135.9)
XYZxyz(10.1203, 16.6578, 3.4924)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428017 #551780
analogous
#768017 #428017 #178021
triadic
#428017 #174280 #801742
tetradic
#428017 #177680 #551780 #802117
square
#428017 #177680 #551780 #802117
split-complementary
#428017 #211780 #801776
monochromatic
#0D1A05 #274C0E #428017 #5DB420 #7ADB36

Accessibility & contrast

On white

4.85
#428017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#428017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428017
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428017#FFFFFF#000000##FFFFFF
##4280171.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#3F7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #428017;
/* rgb */ color: rgb(66, 128, 23);
/* oklch */ color: oklch(53.8% 0.148 135.9);
Tailwind
colors: {
  custom: {
    50: '#7da55e',
    500: '#428017',
    950: '#000000',
  },
}
SCSS
$custom: #428017;
$custom-light: #7da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#428017",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 95.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.14803,
    "h": 135.9
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#428017
secondary
#843EB4
accent
#3BECA4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428017

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

Preview Lab → · Contrast checker → · Palette generator →

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