#479D15#479D15

#479D15 is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.8% C 0.181 H 137.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#479D15
RGBrgb(71, 157, 21)
HSLhsl(98, 76%, 35%)
HSVhsv(98, 87%, 62%)
CMYKcmyk(54.8%, 0%, 86.6%, 38.4%)
CIE-LABlab(57.57, -48.16, 55.93)
CIE-LCHlch(57.57, 73.80, 130.73°)
OKLaboklab(61.83% -0.1337 0.1224)
OKLCHoklch(61.83% 0.181 137.5)
XYZxyz(14.7904, 25.5065, 4.8532)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479D15 #6B159D
analogous
#8B9D15 #479D15 #159D27
triadic
#479D15 #15479D #9D1547
tetradic
#479D15 #158B9D #6B159D #9D2715
square
#479D15 #158B9D #6B159D #9D2715
split-complementary
#479D15 #27159D #9D158B
monochromatic
#163107 #2F670E #479D15 #5FD31C #81E646

Accessibility & contrast

On white

3.44
#479D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#479D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479D15
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479D15#FFFFFF#000000##000000
##479D151.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#978828
Tritanopia (blue-blind)
#409785
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #479d15;
/* rgb */ color: rgb(71, 157, 21);
/* oklch */ color: oklch(61.8% 0.181 137.5);
Tailwind
colors: {
  custom: {
    50: '#84bb62',
    500: '#479d15',
    950: '#000000',
  },
}
SCSS
$custom: #479d15;
$custom-light: #84bb62;
$custom-dark: #000000;
JSON
{
  "hex": "#479d15",
  "rgb": {
    "r": 71,
    "g": 157,
    "b": 21
  },
  "hsl": {
    "h": 97.941,
    "s": 76.404,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.18125,
    "h": 137.5
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#479D15
secondary
#9847C7
accent
#35F3AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #479D15

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

Preview Lab → · Contrast checker → · Palette generator →

#479D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva