#478024#478024

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

Color values

HEX#478024
RGBrgb(71, 128, 36)
HSLhsl(97, 56%, 32%)
HSVhsv(97, 72%, 50%)
CMYKcmyk(44.5%, 0%, 71.9%, 49.8%)
CIE-LABlab(48.14, -35.52, 42.10)
CIE-LCHlch(48.14, 55.09, 130.15°)
OKLaboklab(54.1% -0.0988 0.0957)
OKLCHoklch(54.1% 0.138 135.9)
XYZxyz(10.6359, 16.9047, 4.3712)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478024 #5D2480
analogous
#758024 #478024 #24802F
triadic
#478024 #244780 #802447
tetradic
#478024 #247580 #5D2480 #802F24
square
#478024 #247580 #5D2480 #802F24
split-complementary
#478024 #2F2480 #802475
monochromatic
#122009 #2D5017 #478024 #61B031 #80CE50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478024#FFFFFF#000000##FFFFFF
##4780241.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)
#857516
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#457B6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478024;
/* rgb */ color: rgb(71, 128, 36);
/* oklch */ color: oklch(54.1% 0.138 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa564',
    500: '#478024',
    950: '#000000',
  },
}
SCSS
$custom: #478024;
$custom-light: #7fa564;
$custom-dark: #000000;
JSON
{
  "hex": "#478024",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 97.174,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.1375,
    "h": 135.9
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#478024
secondary
#8C4EB2
accent
#48DFA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #478024

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

Preview Lab → · Contrast checker → · Palette generator →

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