#428018#428018

#428018 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.148 H 136.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#428018
RGBrgb(66, 128, 24)
HSLhsl(96, 68%, 30%)
HSVhsv(96, 81%, 50%)
CMYKcmyk(48.4%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.83, -38.07, 46.18)
CIE-LCHlch(47.83, 59.85, 129.50°)
OKLaboklab(53.76% -0.1062 0.1024)
OKLCHoklch(53.76% 0.148 136)
XYZxyz(10.1305, 16.6619, 3.5462)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428018 #561880
analogous
#768018 #428018 #188022
triadic
#428018 #184280 #801842
tetradic
#428018 #187680 #561880 #802218
square
#428018 #187680 #561880 #802218
split-complementary
#428018 #221880 #801876
monochromatic
#0D1A05 #274C0E #428018 #5DB422 #7ADA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428018#FFFFFF#000000##FFFFFF
##4280181.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)
#7D7024
Tritanopia (blue-blind)
#3F7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #428018;
/* rgb */ color: rgb(66, 128, 24);
/* oklch */ color: oklch(53.8% 0.148 136.0);
Tailwind
colors: {
  custom: {
    50: '#7da55e',
    500: '#428018',
    950: '#000000',
  },
}
SCSS
$custom: #428018;
$custom-light: #7da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#428018",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 95.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.14753,
    "h": 136
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#428018
secondary
#8540B4
accent
#3DEBA5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428018

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

Preview Lab → · Contrast checker → · Palette generator →

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