#428A16#428A16

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

Color values

HEX#428A16
RGBrgb(66, 138, 22)
HSLhsl(97, 73%, 31%)
HSVhsv(97, 84%, 54%)
CMYKcmyk(52.2%, 0%, 84.1%, 45.9%)
CIE-LABlab(51.14, -42.26, 49.85)
CIE-LCHlch(51.14, 65.35, 130.28°)
OKLaboklab(56.48% -0.1175 0.1098)
OKLCHoklch(56.48% 0.161 136.9)
XYZxyz(11.4797, 19.3923, 3.8971)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428A16 #5E168A
analogous
#7C8A16 #428A16 #168A24
triadic
#428A16 #16428A #8A1642
tetradic
#428A16 #167C8A #5E168A #8A2416
square
#428A16 #167C8A #5E168A #8A2416
split-complementary
#428A16 #24168A #8A167C
monochromatic
#102005 #29550E #428A16 #5BBF1E #79E03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428A16#FFFFFF#000000##000000
##428A161.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)
#867824
Tritanopia (blue-blind)
#3E8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #428a16;
/* rgb */ color: rgb(66, 138, 22);
/* oklch */ color: oklch(56.5% 0.161 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ead5f',
    500: '#428a16',
    950: '#000000',
  },
}
SCSS
$custom: #428a16;
$custom-light: #7ead5f;
$custom-dark: #000000;
JSON
{
  "hex": "#428a16",
  "rgb": {
    "r": 66,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 97.241,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.16085,
    "h": 136.9
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#428A16
secondary
#8D3EBE
accent
#39EFAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428A16

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

Preview Lab → · Contrast checker → · Palette generator →

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