#428A1C#428A1C

#428A1C is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.5% C 0.158 H 137.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#428A1C
RGBrgb(66, 138, 28)
HSLhsl(99, 66%, 33%)
HSVhsv(99, 80%, 54%)
CMYKcmyk(52.2%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.17, -41.92, 48.04)
CIE-LCHlch(51.17, 63.76, 131.11°)
OKLaboklab(56.52% -0.1163 0.1069)
OKLCHoklch(56.52% 0.158 137.4)
XYZxyz(11.5445, 19.4182, 4.2381)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428A1C #641C8A
analogous
#798A1C #428A1C #1C8A2D
triadic
#428A1C #1C428A #8A1C42
tetradic
#428A1C #1C798A #641C8A #8A2D1C
square
#428A1C #1C798A #641C8A #8A2D1C
split-complementary
#428A1C #2D1C8A #8A1C79
monochromatic
#112407 #2A5712 #428A1C #5ABD26 #7ADA47

Accessibility & contrast

On white

4.30
#428A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#428A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428A1C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428A1C#FFFFFF#000000##000000
##428A1C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#3D8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #428a1c;
/* rgb */ color: rgb(66, 138, 28);
/* oklch */ color: oklch(56.5% 0.158 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ead62',
    500: '#428a1c',
    950: '#000000',
  },
}
SCSS
$custom: #428a1c;
$custom-light: #7ead62;
$custom-dark: #000000;
JSON
{
  "hex": "#428a1c",
  "rgb": {
    "r": 66,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 99.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.15796,
    "h": 137.4
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#428A1C
secondary
#9346BB
accent
#3FE9AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#428A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva