#478922#478922

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

Color values

HEX#478922
RGBrgb(71, 137, 34)
HSLhsl(98, 60%, 34%)
HSVhsv(98, 75%, 54%)
CMYKcmyk(48.2%, 0%, 75.2%, 46.3%)
CIE-LABlab(51.09, -39.52, 45.90)
CIE-LCHlch(51.09, 60.56, 130.73°)
OKLaboklab(56.52% -0.1097 0.1033)
OKLCHoklch(56.52% 0.151 136.7)
XYZxyz(11.8326, 19.3456, 4.6236)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478922 #642289
analogous
#7A8922 #478922 #228931
triadic
#478922 #224789 #892247
tetradic
#478922 #227A89 #642289 #893122
square
#478922 #227A89 #642289 #893122
split-complementary
#478922 #312289 #89227A
monochromatic
#14270A #2E5816 #478922 #60BA2E #80D451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478922#FFFFFF#000000##000000
##4789221.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)
#8E7D0E
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#448475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478922;
/* rgb */ color: rgb(71, 137, 34);
/* oklch */ color: oklch(56.5% 0.151 136.7);
Tailwind
colors: {
  custom: {
    50: '#81ac64',
    500: '#478922',
    950: '#000000',
  },
}
SCSS
$custom: #478922;
$custom-light: #81ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#478922",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 98.447,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.1507,
    "h": 136.7
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#478922
secondary
#924FB8
accent
#44E3AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478922

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

Preview Lab → · Contrast checker → · Palette generator →

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