#428310#428310

#428310 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.5% C 0.155 H 135.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#428310
RGBrgb(66, 131, 16)
HSLhsl(94, 78%, 29%)
HSVhsv(94, 88%, 51%)
CMYKcmyk(49.6%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.79, -39.71, 49.34)
CIE-LCHlch(48.79, 63.33, 128.83°)
OKLaboklab(54.54% -0.111 0.1079)
OKLCHoklch(54.54% 0.155 135.8)
XYZxyz(10.4563, 17.4276, 3.3030)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428310 #511083
analogous
#7C8310 #428310 #108318
triadic
#428310 #104283 #831042
tetradic
#428310 #107C83 #511083 #831810
square
#428310 #107C83 #511083 #831810
split-complementary
#428310 #181083 #83107C
monochromatic
#0E1B03 #274C09 #428310 #5DBA17 #7AE529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##428310#FFFFFF#000000##FFFFFF
##4283101.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)
#807220
Tritanopia (blue-blind)
#3F7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #428310;
/* rgb */ color: rgb(66, 131, 16);
/* oklch */ color: oklch(54.5% 0.155 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ea75c',
    500: '#428310',
    950: '#000000',
  },
}
SCSS
$custom: #428310;
$custom-light: #7ea75c;
$custom-dark: #000000;
JSON
{
  "hex": "#428310",
  "rgb": {
    "r": 66,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 93.913,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.15477,
    "h": 135.8
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#428310
secondary
#8036B9
accent
#33F5A1
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #428310

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

Preview Lab → · Contrast checker → · Palette generator →

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