#428915#428915

#428915 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.2% C 0.160 H 136.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#428915
RGBrgb(66, 137, 21)
HSLhsl(97, 73%, 31%)
HSVhsv(97, 85%, 54%)
CMYKcmyk(51.8%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.81, -41.91, 49.83)
CIE-LCHlch(50.81, 65.11, 130.06°)
OKLaboklab(56.21% -0.1166 0.1096)
OKLCHoklch(56.21% 0.16 136.8)
XYZxyz(11.3274, 19.1029, 3.7997)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428915 #5C1589
analogous
#7C8915 #428915 #158922
triadic
#428915 #154289 #891542
tetradic
#428915 #157C89 #5C1589 #892215
square
#428915 #157C89 #5C1589 #892215
split-complementary
#428915 #221589 #89157C
monochromatic
#0F1F05 #28540D #428915 #5CBE1D #79E038

Accessibility & contrast

On white

4.36
#428915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#428915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428915
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428915#FFFFFF#000000##000000
##4289151.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#3E8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #428915;
/* rgb */ color: rgb(66, 137, 21);
/* oklch */ color: oklch(56.2% 0.160 136.8);
Tailwind
colors: {
  custom: {
    50: '#7eac5f',
    500: '#428915',
    950: '#000000',
  },
}
SCSS
$custom: #428915;
$custom-light: #7eac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#428915",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 96.724,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.16007,
    "h": 136.8
  },
  "luminance": 0.19104
}

Semantic roles & 50–950 ramp

primary
#428915
secondary
#8B3DBD
accent
#38F0A9
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #428915

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

Preview Lab → · Contrast checker → · Palette generator →

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