#428A17#428A17

#428A17 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.5% C 0.160 H 137.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#428A17
RGBrgb(66, 138, 23)
HSLhsl(98, 71%, 32%)
HSVhsv(98, 83%, 54%)
CMYKcmyk(52.2%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.15, -42.20, 49.57)
CIE-LCHlch(51.15, 65.10, 130.41°)
OKLaboklab(56.49% -0.1173 0.1094)
OKLCHoklch(56.49% 0.16 137)
XYZxyz(11.4895, 19.3962, 3.9489)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428A17 #5F178A
analogous
#7C8A17 #428A17 #178A25
triadic
#428A17 #17428A #8A1742
tetradic
#428A17 #177C8A #5F178A #8A2517
square
#428A17 #177C8A #5F178A #8A2517
split-complementary
#428A17 #25178A #8A177C
monochromatic
#102106 #29560E #428A17 #5BBE20 #79DF3D

Accessibility & contrast

On white

4.30
#428A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#428A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428A17
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428A17#FFFFFF#000000##000000
##428A171.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#3D8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #428a17;
/* rgb */ color: rgb(66, 138, 23);
/* oklch */ color: oklch(56.5% 0.160 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ead60',
    500: '#428a17',
    950: '#000000',
  },
}
SCSS
$custom: #428a17;
$custom-light: #7ead60;
$custom-dark: #000000;
JSON
{
  "hex": "#428a17",
  "rgb": {
    "r": 66,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 97.565,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.16041,
    "h": 137
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#428A17
secondary
#8E3FBE
accent
#3AEEAB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428A17

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

Preview Lab → · Contrast checker → · Palette generator →

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