#428718#428718

#428718 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.7% C 0.156 H 136.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#428718
RGBrgb(66, 135, 24)
HSLhsl(97, 70%, 31%)
HSVhsv(97, 82%, 53%)
CMYKcmyk(51.1%, 0%, 82.2%, 47.1%)
CIE-LABlab(50.16, -40.95, 48.36)
CIE-LCHlch(50.16, 63.37, 130.26°)
OKLaboklab(55.68% -0.1139 0.107)
OKLCHoklch(55.68% 0.156 136.8)
XYZxyz(11.0753, 18.5514, 3.8611)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428718 #5D1887
analogous
#798718 #428718 #188725
triadic
#428718 #184287 #871842
tetradic
#428718 #187987 #5D1887 #872518
square
#428718 #187987 #5D1887 #872518
split-complementary
#428718 #251887 #871879
monochromatic
#0F1F06 #29530F #428718 #5BBB21 #79DC3D

Accessibility & contrast

On white

4.46
#428718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#428718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428718
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428718#FFFFFF#000000##000000
##4287181.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#3E8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #428718;
/* rgb */ color: rgb(66, 135, 24);
/* oklch */ color: oklch(55.7% 0.156 136.8);
Tailwind
colors: {
  custom: {
    50: '#7eaa5f',
    500: '#428718',
    950: '#000000',
  },
}
SCSS
$custom: #428718;
$custom-light: #7eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#428718",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 97.297,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.15626,
    "h": 136.8
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#428718
secondary
#8C40BB
accent
#3BEDA9
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428718

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

Preview Lab → · Contrast checker → · Palette generator →

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