#428A1B#428A1B

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

Color values

HEX#428A1B
RGBrgb(66, 138, 27)
HSLhsl(99, 67%, 32%)
HSVhsv(99, 80%, 54%)
CMYKcmyk(52.2%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.17, -41.98, 48.36)
CIE-LCHlch(51.17, 64.04, 130.96°)
OKLaboklab(56.51% -0.1165 0.1075)
OKLCHoklch(56.51% 0.158 137.3)
XYZxyz(11.5327, 19.4135, 4.1762)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428A1B #631B8A
analogous
#7A8A1B #428A1B #1B8A2C
triadic
#428A1B #1B428A #8A1B42
tetradic
#428A1B #1B7A8A #631B8A #8A2C1B
square
#428A1B #1B7A8A #631B8A #8A2C1B
split-complementary
#428A1B #2C1B8A #8A1B7A
monochromatic
#112407 #2A5711 #428A1B #5ABD25 #79DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428A1B#FFFFFF#000000##000000
##428A1B1.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: #428a1b;
/* rgb */ color: rgb(66, 138, 27);
/* oklch */ color: oklch(56.5% 0.158 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ead61',
    500: '#428a1b',
    950: '#000000',
  },
}
SCSS
$custom: #428a1b;
$custom-light: #7ead61;
$custom-dark: #000000;
JSON
{
  "hex": "#428a1b",
  "rgb": {
    "r": 66,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 98.919,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.15848,
    "h": 137.3
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#428A1B
secondary
#9245BC
accent
#3EEAAE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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