#428012#428012

#428012 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.150 H 135.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#428012
RGBrgb(66, 128, 18)
HSLhsl(94, 75%, 29%)
HSVhsv(94, 86%, 50%)
CMYKcmyk(48.4%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.80, -38.38, 47.95)
CIE-LCHlch(47.80, 61.42, 128.68°)
OKLaboklab(53.73% -0.1073 0.1052)
OKLCHoklch(53.73% 0.15 135.6)
XYZxyz(10.0749, 16.6396, 3.2530)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428012 #501280
analogous
#798012 #428012 #128019
triadic
#428012 #124280 #801242
tetradic
#428012 #127980 #501280 #801912
square
#428012 #127980 #501280 #801912
split-complementary
#428012 #191280 #801279
monochromatic
#0E1B04 #264A0A #428012 #5EB61A #7BE12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428012#FFFFFF#000000##FFFFFF
##4280121.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)
#7D7020
Tritanopia (blue-blind)
#407B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #428012;
/* rgb */ color: rgb(66, 128, 18);
/* oklch */ color: oklch(53.7% 0.150 135.6);
Tailwind
colors: {
  custom: {
    50: '#7da55c',
    500: '#428012',
    950: '#000000',
  },
}
SCSS
$custom: #428012;
$custom-light: #7da55c;
$custom-dark: #000000;
JSON
{
  "hex": "#428012",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 93.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.15031,
    "h": 135.6
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#428012
secondary
#7F38B6
accent
#36F2A0
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #428012

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

Preview Lab → · Contrast checker → · Palette generator →

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