#479817#479817

#479817 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.5% C 0.175 H 137.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#479817
RGBrgb(71, 152, 23)
HSLhsl(98, 74%, 34%)
HSVhsv(98, 85%, 60%)
CMYKcmyk(53.3%, 0%, 84.9%, 40.4%)
CIE-LABlab(55.94, -46.17, 53.99)
CIE-LCHlch(55.94, 71.04, 130.53°)
OKLaboklab(60.5% -0.1283 0.1186)
OKLCHoklch(60.5% 0.175 137.2)
XYZxyz(13.9810, 23.8569, 4.6785)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#479817 #681798
analogous
#889817 #479817 #179827
triadic
#479817 #174798 #981747
tetradic
#479817 #178898 #681798 #982717
square
#479817 #178898 #681798 #982717
split-complementary
#479817 #271798 #981788
monochromatic
#152E07 #2E630F #479817 #60CD1F #81E346

Accessibility & contrast

On white

3.64
#479817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#479817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #479817
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##479817#FFFFFF#000000##000000
##4798171.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#419281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #479817;
/* rgb */ color: rgb(71, 152, 23);
/* oklch */ color: oklch(60.5% 0.175 137.2);
Tailwind
colors: {
  custom: {
    50: '#83b762',
    500: '#479817',
    950: '#000000',
  },
}
SCSS
$custom: #479817;
$custom-light: #83b762;
$custom-dark: #000000;
JSON
{
  "hex": "#479817",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 23
  },
  "hsl": {
    "h": 97.674,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.17469,
    "h": 137.2
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#479817
secondary
#9547C4
accent
#37F0AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #479817

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

Preview Lab → · Contrast checker → · Palette generator →

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