#478618#478618

#478618 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.152 H 135.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#478618
RGBrgb(71, 134, 24)
HSLhsl(94, 70%, 31%)
HSVhsv(94, 82%, 53%)
CMYKcmyk(47%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.04, -38.90, 48.33)
CIE-LCHlch(50.04, 62.04, 128.83°)
OKLaboklab(55.64% -0.1087 0.1069)
OKLCHoklch(55.64% 0.152 135.5)
XYZxyz(11.2882, 18.4550, 3.8313)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478618 #571886
analogous
#7E8618 #478618 #188620
triadic
#478618 #184786 #861847
tetradic
#478618 #187E86 #571886 #862018
square
#478618 #187E86 #571886 #862018
split-complementary
#478618 #201886 #86187E
monochromatic
#101E05 #2B520F #478618 #62BA21 #81DC3C

Accessibility & contrast

On white

4.48
#478618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#478618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478618
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478618#FFFFFF#000000##000000
##4786181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#458172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #478618;
/* rgb */ color: rgb(71, 134, 24);
/* oklch */ color: oklch(55.6% 0.152 135.5);
Tailwind
colors: {
  custom: {
    50: '#81aa5f',
    500: '#478618',
    950: '#000000',
  },
}
SCSS
$custom: #478618;
$custom-light: #81aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478618",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 94.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.15244,
    "h": 135.5
  },
  "luminance": 0.18456
}

Semantic roles & 50–950 ramp

primary
#478618
secondary
#8640BA
accent
#3BECA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478618

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

Preview Lab → · Contrast checker → · Palette generator →

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