#428215#428215

#428215 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.151 H 136.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#428215
RGBrgb(66, 130, 21)
HSLhsl(95, 72%, 30%)
HSVhsv(95, 84%, 51%)
CMYKcmyk(49.2%, 0%, 83.8%, 49%)
CIE-LABlab(48.48, -39.06, 47.71)
CIE-LCHlch(48.48, 61.67, 129.31°)
OKLaboklab(54.29% -0.109 0.1052)
OKLCHoklch(54.29% 0.151 136)
XYZxyz(10.3645, 17.1770, 3.4787)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428215 #551582
analogous
#798215 #428215 #15821E
triadic
#428215 #154282 #821542
tetradic
#428215 #157982 #551582 #821E15
square
#428215 #157982 #551582 #821E15
split-complementary
#428215 #1E1582 #821579
monochromatic
#0D1A04 #274D0C #428215 #5DB71E #7ADE33

Accessibility & contrast

On white

4.73
#428215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#428215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428215
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428215#FFFFFF#000000##FFFFFF
##4282151.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#3F7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #428215;
/* rgb */ color: rgb(66, 130, 21);
/* oklch */ color: oklch(54.3% 0.151 136.0);
Tailwind
colors: {
  custom: {
    50: '#7da75d',
    500: '#428215',
    950: '#000000',
  },
}
SCSS
$custom: #428215;
$custom-light: #7da75d;
$custom-dark: #000000;
JSON
{
  "hex": "#428215",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 95.229,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.15149,
    "h": 136
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

primary
#428215
secondary
#843CB7
accent
#39EFA4
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428215

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

Preview Lab → · Contrast checker → · Palette generator →

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