#478428#478428

#478428 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.2% C 0.140 H 136.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#478428
RGBrgb(71, 132, 40)
HSLhsl(100, 53%, 34%)
HSVhsv(100, 70%, 52%)
CMYKcmyk(46.2%, 0%, 69.7%, 48.2%)
CIE-LABlab(49.49, -36.92, 41.83)
CIE-LCHlch(49.49, 55.79, 131.43°)
OKLaboklab(55.22% -0.1023 0.0956)
OKLCHoklch(55.22% 0.14 136.9)
XYZxyz(11.2325, 17.9946, 4.8885)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478428 #652884
analogous
#758428 #478428 #288437
triadic
#478428 #284784 #842847
tetradic
#478428 #287584 #652884 #843728
square
#478428 #287584 #652884 #843728
split-complementary
#478428 #372884 #842875
monochromatic
#14260C #2E551A #478428 #60B336 #80CD5A

Accessibility & contrast

On white

4.57
#478428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#478428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478428
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478428#FFFFFF#000000##000000
##4784281.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#447F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478428;
/* rgb */ color: rgb(71, 132, 40);
/* oklch */ color: oklch(55.2% 0.140 136.9);
Tailwind
colors: {
  custom: {
    50: '#80a867',
    500: '#478428',
    950: '#000000',
  },
}
SCSS
$custom: #478428;
$custom-light: #80a867;
$custom-dark: #000000;
JSON
{
  "hex": "#478428",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 99.783,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.14001,
    "h": 136.9
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#478428
secondary
#9356B2
accent
#4BDDAC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478428

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

Preview Lab → · Contrast checker → · Palette generator →

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