#478915#478915

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

Color values

HEX#478915
RGBrgb(71, 137, 21)
HSLhsl(94, 73%, 31%)
HSVhsv(94, 85%, 54%)
CMYKcmyk(48.2%, 0%, 84.7%, 46.3%)
CIE-LABlab(51.02, -40.29, 50.10)
CIE-LCHlch(51.02, 64.29, 128.81°)
OKLaboklab(56.44% -0.1126 0.1101)
OKLCHoklch(56.44% 0.158 135.7)
XYZxyz(11.6793, 19.2843, 3.8161)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478915 #571589
analogous
#818915 #478915 #15891D
triadic
#478915 #154789 #891547
tetradic
#478915 #158189 #571589 #891D15
square
#478915 #158189 #571589 #891D15
split-complementary
#478915 #1D1589 #891581
monochromatic
#101F05 #2B540D #478915 #63BE1D #81E038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478915#FFFFFF#000000##000000
##4789151.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)
#867824
Tritanopia (blue-blind)
#448474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #478915;
/* rgb */ color: rgb(71, 137, 21);
/* oklch */ color: oklch(56.4% 0.158 135.7);
Tailwind
colors: {
  custom: {
    50: '#81ac5f',
    500: '#478915',
    950: '#000000',
  },
}
SCSS
$custom: #478915;
$custom-light: #81ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478915",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 94.138,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.15752,
    "h": 135.7
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#478915
secondary
#863DBD
accent
#38F0A1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478915

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

Preview Lab → · Contrast checker → · Palette generator →

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