#428118#428118

#428118 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.149 H 136.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#428118
RGBrgb(66, 129, 24)
HSLhsl(96, 69%, 30%)
HSVhsv(96, 81%, 51%)
CMYKcmyk(48.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.16, -38.49, 46.50)
CIE-LCHlch(48.16, 60.36, 129.62°)
OKLaboklab(54.04% -0.1073 0.1031)
OKLCHoklch(54.04% 0.149 136.1)
XYZxyz(10.2616, 16.9240, 3.5899)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428118 #571881
analogous
#768118 #428118 #188123
triadic
#428118 #184281 #811842
tetradic
#428118 #187681 #571881 #812318
square
#428118 #187681 #571881 #812318
split-complementary
#428118 #231881 #811876
monochromatic
#0D1A05 #284D0E #428118 #5CB522 #7ADA39

Accessibility & contrast

On white

4.79
#428118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#428118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #428118
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428118#FFFFFF#000000##FFFFFF
##4281181.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7024
Tritanopia (blue-blind)
#3F7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #428118;
/* rgb */ color: rgb(66, 129, 24);
/* oklch */ color: oklch(54.0% 0.149 136.1);
Tailwind
colors: {
  custom: {
    50: '#7da65f',
    500: '#428118',
    950: '#000000',
  },
}
SCSS
$custom: #428118;
$custom-light: #7da65f;
$custom-dark: #000000;
JSON
{
  "hex": "#428118",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 96,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.14878,
    "h": 136.1
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#428118
secondary
#8640B5
accent
#3CEBA5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428118

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

Preview Lab → · Contrast checker → · Palette generator →

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