#478918#478918

#478918 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.156 H 135.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#478918
RGBrgb(71, 137, 24)
HSLhsl(95, 70%, 32%)
HSVhsv(95, 82%, 54%)
CMYKcmyk(48.2%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.03, -40.14, 49.24)
CIE-LCHlch(51.03, 63.53, 129.19°)
OKLaboklab(56.45% -0.1121 0.1088)
OKLCHoklch(56.45% 0.156 135.9)
XYZxyz(11.7088, 19.2961, 3.9715)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478918 #5A1889
analogous
#808918 #478918 #188922
triadic
#478918 #184789 #891847
tetradic
#478918 #188089 #5A1889 #892218
square
#478918 #188089 #5A1889 #892218
split-complementary
#478918 #221889 #891880
monochromatic
#112106 #2C550F #478918 #62BD21 #80DD3E

Accessibility & contrast

On white

4.32
#478918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#478918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478918
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478918#FFFFFF#000000##000000
##4789181.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857825
Tritanopia (blue-blind)
#448474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478918;
/* rgb */ color: rgb(71, 137, 24);
/* oklch */ color: oklch(56.5% 0.156 135.9);
Tailwind
colors: {
  custom: {
    50: '#81ac60',
    500: '#478918',
    950: '#000000',
  },
}
SCSS
$custom: #478918;
$custom-light: #81ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#478918",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 95.044,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.15617,
    "h": 135.9
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#478918
secondary
#8940BD
accent
#3BEDA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478918

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

Preview Lab → · Contrast checker → · Palette generator →

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