#478920#478920

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

Color values

HEX#478920
RGBrgb(71, 137, 32)
HSLhsl(98, 62%, 33%)
HSVhsv(98, 77%, 54%)
CMYKcmyk(48.2%, 0%, 76.6%, 46.3%)
CIE-LABlab(51.08, -39.66, 46.62)
CIE-LCHlch(51.08, 61.21, 130.38°)
OKLaboklab(56.5% -0.1103 0.1045)
OKLCHoklch(56.5% 0.152 136.5)
XYZxyz(11.8046, 19.3344, 4.4761)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478920 #622089
analogous
#7B8920 #478920 #20892D
triadic
#478920 #204789 #892047
tetradic
#478920 #207B89 #622089 #892D20
square
#478920 #207B89 #622089 #892D20
split-complementary
#478920 #2D2089 #89207B
monochromatic
#142609 #2D5714 #478920 #61BB2C #80D64E

Accessibility & contrast

On white

4.31
#478920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#478920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478920
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478920#FFFFFF#000000##000000
##4789201.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#448475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478920;
/* rgb */ color: rgb(71, 137, 32);
/* oklch */ color: oklch(56.5% 0.152 136.5);
Tailwind
colors: {
  custom: {
    50: '#81ac63',
    500: '#478920',
    950: '#000000',
  },
}
SCSS
$custom: #478920;
$custom-light: #81ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#478920",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 97.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.15192,
    "h": 136.5
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#478920
secondary
#904CB9
accent
#43E5A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478920

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

Preview Lab → · Contrast checker → · Palette generator →

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