#478518#478518

#478518 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.151 H 135.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#478518
RGBrgb(71, 133, 24)
HSLhsl(94, 69%, 31%)
HSVhsv(94, 82%, 52%)
CMYKcmyk(46.6%, 0%, 82%, 47.8%)
CIE-LABlab(49.71, -38.48, 48.02)
CIE-LCHlch(49.71, 61.54, 128.70°)
OKLaboklab(55.37% -0.1076 0.1062)
OKLCHoklch(55.37% 0.151 135.4)
XYZxyz(11.1507, 18.1799, 3.7855)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478518 #561885
analogous
#7D8518 #478518 #18851F
triadic
#478518 #184785 #851847
tetradic
#478518 #187D85 #561885 #851F18
square
#478518 #187D85 #561885 #851F18
split-complementary
#478518 #1F1885 #85187D
monochromatic
#101D05 #2B510F #478518 #63B921 #81DC3C

Accessibility & contrast

On white

4.53
#478518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#478518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478518
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478518#FFFFFF#000000##000000
##4785181.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#458071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478518;
/* rgb */ color: rgb(71, 133, 24);
/* oklch */ color: oklch(55.4% 0.151 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a95f',
    500: '#478518',
    950: '#000000',
  },
}
SCSS
$custom: #478518;
$custom-light: #81a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#478518",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 94.128,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.15118,
    "h": 135.4
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#478518
secondary
#8540B9
accent
#3CECA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478518

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

Preview Lab → · Contrast checker → · Palette generator →

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