#477917#477917

#477917 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.136 H 133.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#477917
RGBrgb(71, 121, 23)
HSLhsl(91, 68%, 28%)
HSVhsv(91, 81%, 47%)
CMYKcmyk(41.3%, 0%, 81%, 52.5%)
CIE-LABlab(45.74, -33.34, 44.63)
CIE-LCHlch(45.74, 55.70, 126.76°)
OKLaboklab(52.11% -0.0938 0.0989)
OKLCHoklch(52.11% 0.136 133.5)
XYZxyz(9.5904, 15.0757, 3.2150)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477917 #491779
analogous
#787917 #477917 #177918
triadic
#477917 #174779 #791747
tetradic
#477917 #177879 #491779 #791817
square
#477917 #177879 #491779 #791817
split-complementary
#477917 #181779 #791778
monochromatic
#0F1A05 #29460D #477917 #65AC21 #84D832

Accessibility & contrast

On white

5.23
#477917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#477917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477917
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477917#FFFFFF#000000##FFFFFF
##4779171.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#477467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #477917;
/* rgb */ color: rgb(71, 121, 23);
/* oklch */ color: oklch(52.1% 0.136 133.5);
Tailwind
colors: {
  custom: {
    50: '#7fa05d',
    500: '#477917',
    950: '#000000',
  },
}
SCSS
$custom: #477917;
$custom-light: #7fa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#477917",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 90.612,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.13635,
    "h": 133.5
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#477917
secondary
#773EAE
accent
#3DEB96
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477917

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

Preview Lab → · Contrast checker → · Palette generator →

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