#479420#479420

#479420 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.5% C 0.166 H 137.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#479420
RGBrgb(71, 148, 32)
HSLhsl(100, 64%, 35%)
HSVhsv(100, 78%, 58%)
CMYKcmyk(52%, 0%, 78.4%, 42%)
CIE-LABlab(54.68, -44.12, 50.13)
CIE-LCHlch(54.68, 66.78, 131.35°)
OKLaboklab(59.47% -0.1223 0.1118)
OKLCHoklch(59.47% 0.166 137.5)
XYZxyz(13.4487, 22.6227, 5.0242)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479420 #6D2094
analogous
#819420 #479420 #209433
triadic
#479420 #204794 #942047
tetradic
#479420 #208194 #6D2094 #943320
square
#479420 #208194 #6D2094 #943320
split-complementary
#479420 #332094 #942081
monochromatic
#172F0A #2F6215 #479420 #5FC62B #81DA54

Accessibility & contrast

On white

3.80
#479420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#479420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479420
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479420#FFFFFF#000000##000000
##4794201.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#428F7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #479420;
/* rgb */ color: rgb(71, 148, 32);
/* oklch */ color: oklch(59.5% 0.166 137.5);
Tailwind
colors: {
  custom: {
    50: '#82b465',
    500: '#479420',
    950: '#000000',
  },
}
SCSS
$custom: #479420;
$custom-light: #82b465;
$custom-dark: #000000;
JSON
{
  "hex": "#479420",
  "rgb": {
    "r": 71,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 99.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.1657,
    "h": 137.5
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#479420
secondary
#9A52BE
accent
#40E7AF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #479420

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

Preview Lab → · Contrast checker → · Palette generator →

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