#428B18#428B18

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

Color values

HEX#428B18
RGBrgb(66, 139, 24)
HSLhsl(98, 71%, 32%)
HSVhsv(98, 83%, 55%)
CMYKcmyk(52.5%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.48, -42.55, 49.58)
CIE-LCHlch(51.48, 65.34, 130.63°)
OKLaboklab(56.77% -0.1182 0.1096)
OKLCHoklch(56.77% 0.161 137.2)
XYZxyz(11.6439, 19.6886, 4.0507)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428B18 #61188B
analogous
#7C8B18 #428B18 #188B28
triadic
#428B18 #18428B #8B1842
tetradic
#428B18 #187C8B #61188B #8B2818
square
#428B18 #187C8B #61188B #8B2818
split-complementary
#428B18 #28188B #8B187C
monochromatic
#102306 #29570F #428B18 #5BBF21 #79DE3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428B18#FFFFFF#000000##000000
##428B181.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)
#867826
Tritanopia (blue-blind)
#3D8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #428b18;
/* rgb */ color: rgb(66, 139, 24);
/* oklch */ color: oklch(56.8% 0.161 137.2);
Tailwind
colors: {
  custom: {
    50: '#7fad60',
    500: '#428b18',
    950: '#000000',
  },
}
SCSS
$custom: #428b18;
$custom-light: #7fad60;
$custom-dark: #000000;
JSON
{
  "hex": "#428b18",
  "rgb": {
    "r": 66,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 98.087,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.16117,
    "h": 137.2
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#428B18
secondary
#9040BE
accent
#3AEDAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #428B18

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

Preview Lab → · Contrast checker → · Palette generator →

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