#428318#428318

#428318 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.6% C 0.151 H 136.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#428318
RGBrgb(66, 131, 24)
HSLhsl(96, 69%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(49.6%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.83, -39.32, 47.12)
CIE-LCHlch(48.83, 61.37, 129.84°)
OKLaboklab(54.58% -0.1095 0.1044)
OKLCHoklch(54.58% 0.151 136.4)
XYZxyz(10.5276, 17.4561, 3.6786)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428318 #591883
analogous
#778318 #428318 #188324
triadic
#428318 #184283 #831842
tetradic
#428318 #187783 #591883 #832418
square
#428318 #187783 #591883 #832418
split-complementary
#428318 #241883 #831877
monochromatic
#0E1C05 #284F0F #428318 #5CB721 #79DB3A

Accessibility & contrast

On white

4.68
#428318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#428318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428318
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428318#FFFFFF#000000##FFFFFF
##4283181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#3F7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #428318;
/* rgb */ color: rgb(66, 131, 24);
/* oklch */ color: oklch(54.6% 0.151 136.4);
Tailwind
colors: {
  custom: {
    50: '#7da75f',
    500: '#428318',
    950: '#000000',
  },
}
SCSS
$custom: #428318;
$custom-light: #7da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#428318",
  "rgb": {
    "r": 66,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 96.449,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.1513,
    "h": 136.4
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#428318
secondary
#8840B7
accent
#3CECA7
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428318

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

Preview Lab → · Contrast checker → · Palette generator →

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