#428C17#428C17

#428C17 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.0% C 0.163 H 137.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#428C17
RGBrgb(66, 140, 23)
HSLhsl(98, 72%, 32%)
HSVhsv(98, 84%, 55%)
CMYKcmyk(52.9%, 0%, 83.6%, 45.1%)
CIE-LABlab(51.81, -43.00, 50.18)
CIE-LCHlch(51.81, 66.08, 130.59°)
OKLaboklab(57.03% -0.1194 0.1107)
OKLCHoklch(57.03% 0.163 137.2)
XYZxyz(11.7791, 19.9754, 4.0454)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428C17 #61178C
analogous
#7D8C17 #428C17 #178C27
triadic
#428C17 #17428C #8C1742
tetradic
#428C17 #177D8C #61178C #8C2717
square
#428C17 #177D8C #61178C #8C2717
split-complementary
#428C17 #27178C #8C177D
monochromatic
#102306 #29570E #428C17 #5BC120 #79DF3E

Accessibility & contrast

On white

4.20
#428C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#428C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428C17
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428C17#FFFFFF#000000##000000
##428C171.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#3D8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #428c17;
/* rgb */ color: rgb(66, 140, 23);
/* oklch */ color: oklch(57.0% 0.163 137.2);
Tailwind
colors: {
  custom: {
    50: '#7fae60',
    500: '#428c17',
    950: '#000000',
  },
}
SCSS
$custom: #428c17;
$custom-light: #7fae60;
$custom-dark: #000000;
JSON
{
  "hex": "#428c17",
  "rgb": {
    "r": 66,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 97.949,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.16283,
    "h": 137.2
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#428C17
secondary
#903FBF
accent
#39EFAC
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428C17

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

Preview Lab → · Contrast checker → · Palette generator →

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