#428117#428117

#428117 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#428117
RGBrgb(66, 129, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(48.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.16, -38.54, 46.81)
CIE-LCHlch(48.16, 60.64, 129.47°)
OKLaboklab(54.03% -0.1075 0.1036)
OKLCHoklch(54.03% 0.149 136.1)
XYZxyz(10.2514, 16.9200, 3.5361)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428117 #561781
analogous
#778117 #428117 #178121
triadic
#428117 #174281 #811742
tetradic
#428117 #177781 #561781 #812117
square
#428117 #177781 #561781 #812117
split-complementary
#428117 #211781 #811777
monochromatic
#0D1A05 #274D0E #428117 #5DB520 #7ADB37

Accessibility & contrast

On white

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

On black

4.38
#428117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##428117#FFFFFF#000000##FFFFFF
##4281171.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #428117;
/* rgb */ color: rgb(66, 129, 23);
/* oklch */ color: oklch(54.0% 0.149 136.1);
Tailwind
colors: {
  custom: {
    50: '#7da65e',
    500: '#428117',
    950: '#000000',
  },
}
SCSS
$custom: #428117;
$custom-light: #7da65e;
$custom-dark: #000000;
JSON
{
  "hex": "#428117",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 95.66,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.14929,
    "h": 136.1
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#428117
secondary
#853EB5
accent
#3BEDA5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428117

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

Preview Lab → · Contrast checker → · Palette generator →

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