#428818#428818

#428818 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 55.9% C 0.157 H 136.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#428818
RGBrgb(66, 136, 24)
HSLhsl(98, 70%, 31%)
HSVhsv(98, 82%, 53%)
CMYKcmyk(51.5%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.49, -41.35, 48.67)
CIE-LCHlch(50.49, 63.86, 130.35°)
OKLaboklab(55.95% -0.115 0.1076)
OKLCHoklch(55.95% 0.157 136.9)
XYZxyz(11.2155, 18.8317, 3.9079)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428818 #5E1888
analogous
#7A8818 #428818 #188826
triadic
#428818 #184288 #881842
tetradic
#428818 #187A88 #5E1888 #882618
square
#428818 #187A88 #5E1888 #882618
split-complementary
#428818 #261888 #88187A
monochromatic
#102006 #29540F #428818 #5BBC21 #79DD3E

Accessibility & contrast

On white

4.41
#428818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#428818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428818
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428818#FFFFFF#000000##000000
##4288181.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#3E8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #428818;
/* rgb */ color: rgb(66, 136, 24);
/* oklch */ color: oklch(55.9% 0.157 136.9);
Tailwind
colors: {
  custom: {
    50: '#7eab60',
    500: '#428818',
    950: '#000000',
  },
}
SCSS
$custom: #428818;
$custom-light: #7eab60;
$custom-dark: #000000;
JSON
{
  "hex": "#428818",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 97.5,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.15749,
    "h": 136.9
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#428818
secondary
#8D40BC
accent
#3BEDAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428818

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

Preview Lab → · Contrast checker → · Palette generator →

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