#479221#479221

#479221 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 58.9% C 0.163 H 137.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#479221
RGBrgb(71, 146, 33)
HSLhsl(100, 63%, 35%)
HSVhsv(100, 77%, 57%)
CMYKcmyk(51.4%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.03, -43.26, 49.16)
CIE-LCHlch(54.03, 65.48, 131.34°)
OKLaboklab(58.94% -0.1199 0.11)
OKLCHoklch(58.94% 0.163 137.5)
XYZxyz(13.1515, 22.0062, 4.9932)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479221 #6C2192
analogous
#7F9221 #479221 #219234
triadic
#479221 #214792 #922147
tetradic
#479221 #217F92 #6C2192 #923421
square
#479221 #217F92 #6C2192 #923421
split-complementary
#479221 #342192 #92217F
monochromatic
#162E0A #2F6016 #479221 #5FC42C #81D955

Accessibility & contrast

On white

3.89
#479221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#479221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479221
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479221#FFFFFF#000000##000000
##4792211.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#428D7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #479221;
/* rgb */ color: rgb(71, 146, 33);
/* oklch */ color: oklch(58.9% 0.163 137.5);
Tailwind
colors: {
  custom: {
    50: '#82b365',
    500: '#479221',
    950: '#000000',
  },
}
SCSS
$custom: #479221;
$custom-light: #82b365;
$custom-dark: #000000;
JSON
{
  "hex": "#479221",
  "rgb": {
    "r": 71,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 99.823,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.16268,
    "h": 137.5
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#479221
secondary
#9953BC
accent
#42E6AF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #479221

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

Preview Lab → · Contrast checker → · Palette generator →

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