#428E17#428E17

#428E17 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.6% C 0.165 H 137.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#428E17
RGBrgb(66, 142, 23)
HSLhsl(98, 72%, 32%)
HSVhsv(98, 84%, 56%)
CMYKcmyk(53.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.47, -43.78, 50.78)
CIE-LCHlch(52.47, 67.05, 130.77°)
OKLaboklab(57.58% -0.1215 0.1119)
OKLCHoklch(57.58% 0.165 137.4)
XYZxyz(12.0740, 20.5652, 4.1437)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428E17 #63178E
analogous
#7E8E17 #428E17 #178E27
triadic
#428E17 #17428E #8E1742
tetradic
#428E17 #177E8E #63178E #8E2717
square
#428E17 #177E8E #63178E #8E2717
split-complementary
#428E17 #27178E #8E177E
monochromatic
#112506 #2A590E #428E17 #5AC320 #79E03F

Accessibility & contrast

On white

4.11
#428E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#428E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428E17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428E17#FFFFFF#000000##000000
##428E171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#3D8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #428e17;
/* rgb */ color: rgb(66, 142, 23);
/* oklch */ color: oklch(57.6% 0.165 137.4);
Tailwind
colors: {
  custom: {
    50: '#7fb060',
    500: '#428e17',
    950: '#000000',
  },
}
SCSS
$custom: #428e17;
$custom-light: #7fb060;
$custom-dark: #000000;
JSON
{
  "hex": "#428e17",
  "rgb": {
    "r": 66,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 98.319,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.16524,
    "h": 137.4
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#428E17
secondary
#9240C0
accent
#39EFAD
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428E17

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

Preview Lab → · Contrast checker → · Palette generator →

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