#428418#428418

#428418 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.153 H 136.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#428418
RGBrgb(66, 132, 24)
HSLhsl(97, 69%, 31%)
HSVhsv(97, 82%, 52%)
CMYKcmyk(50%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.16, -39.73, 47.43)
CIE-LCHlch(49.16, 61.87, 129.95°)
OKLaboklab(54.86% -0.1106 0.1051)
OKLCHoklch(54.86% 0.153 136.5)
XYZxyz(10.6626, 17.7260, 3.7236)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428418 #5A1884
analogous
#788418 #428418 #188424
triadic
#428418 #184284 #841842
tetradic
#428418 #187884 #5A1884 #842418
square
#428418 #187884 #5A1884 #842418
split-complementary
#428418 #241884 #841878
monochromatic
#0E1C05 #28500F #428418 #5CB821 #79DB3B

Accessibility & contrast

On white

4.62
#428418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#428418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #428418
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428418#FFFFFF#000000##FFFFFF
##4284181.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#3F7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #428418;
/* rgb */ color: rgb(66, 132, 24);
/* oklch */ color: oklch(54.9% 0.153 136.5);
Tailwind
colors: {
  custom: {
    50: '#7da85f',
    500: '#428418',
    950: '#000000',
  },
}
SCSS
$custom: #428418;
$custom-light: #7da85f;
$custom-dark: #000000;
JSON
{
  "hex": "#428418",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 96.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.15255,
    "h": 136.5
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#428418
secondary
#8940B8
accent
#3CECA7
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #428418

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

Preview Lab → · Contrast checker → · Palette generator →

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