#428B1C#428B1C

#428B1C is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.8% C 0.159 H 137.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#428B1C
RGBrgb(66, 139, 28)
HSLhsl(99, 66%, 33%)
HSVhsv(99, 80%, 55%)
CMYKcmyk(52.5%, 0%, 79.9%, 45.5%)
CIE-LABlab(51.50, -42.32, 48.35)
CIE-LCHlch(51.50, 64.26, 131.20°)
OKLaboklab(56.79% -0.1173 0.1076)
OKLCHoklch(56.79% 0.159 137.5)
XYZxyz(11.6886, 19.7065, 4.2862)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428B1C #651C8B
analogous
#7A8B1C #428B1C #1C8B2D
triadic
#428B1C #1C428B #8B1C42
tetradic
#428B1C #1C7A8B #651C8B #8B2D1C
square
#428B1C #1C7A8B #651C8B #8B2D1C
split-complementary
#428B1C #2D1C8B #8B1C7A
monochromatic
#122507 #2A5812 #428B1C #5ABE26 #7ADA47

Accessibility & contrast

On white

4.25
#428B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#428B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428B1C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428B1C#FFFFFF#000000##000000
##428B1C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#3D8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #428b1c;
/* rgb */ color: rgb(66, 139, 28);
/* oklch */ color: oklch(56.8% 0.159 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ead62',
    500: '#428b1c',
    950: '#000000',
  },
}
SCSS
$custom: #428b1c;
$custom-light: #7ead62;
$custom-dark: #000000;
JSON
{
  "hex": "#428b1c",
  "rgb": {
    "r": 66,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 99.459,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.1592,
    "h": 137.5
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#428B1C
secondary
#9447BC
accent
#3EE9AF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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