#428317#428317

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

Color values

HEX#428317
RGBrgb(66, 131, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(49.6%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.82, -39.37, 47.43)
CIE-LCHlch(48.82, 61.64, 129.70°)
OKLaboklab(54.58% -0.1097 0.1049)
OKLCHoklch(54.58% 0.152 136.3)
XYZxyz(10.5174, 17.4520, 3.6248)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428317 #581783
analogous
#788317 #428317 #178322
triadic
#428317 #174283 #831742
tetradic
#428317 #177883 #581783 #832217
square
#428317 #177883 #581783 #832217
split-complementary
#428317 #221783 #831778
monochromatic
#0E1B05 #284F0E #428317 #5CB720 #7ADC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428317#FFFFFF#000000##FFFFFF
##4283171.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: #428317;
/* rgb */ color: rgb(66, 131, 23);
/* oklch */ color: oklch(54.6% 0.152 136.3);
Tailwind
colors: {
  custom: {
    50: '#7da75e',
    500: '#428317',
    950: '#000000',
  },
}
SCSS
$custom: #428317;
$custom-light: #7da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#428317",
  "rgb": {
    "r": 66,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 96.111,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.15179,
    "h": 136.3
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#428317
secondary
#873FB7
accent
#3BEDA6
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #428317

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

Preview Lab → · Contrast checker → · Palette generator →

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