#477F15#477F15

#477F15 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.145 H 134.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#477F15
RGBrgb(71, 127, 21)
HSLhsl(92, 72%, 29%)
HSVhsv(92, 83%, 50%)
CMYKcmyk(44.1%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.72, -36.08, 47.10)
CIE-LCHlch(47.72, 59.33, 127.45°)
OKLaboklab(53.73% -0.1013 0.1038)
OKLCHoklch(53.73% 0.145 134.3)
XYZxyz(10.3231, 16.5719, 3.3641)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F15 #4D157F
analogous
#7C7F15 #477F15 #157F18
triadic
#477F15 #15477F #7F1547
tetradic
#477F15 #157C7F #4D157F #7F1815
square
#477F15 #157C7F #4D157F #7F1815
split-complementary
#477F15 #18157F #7F157C
monochromatic
#0F1A04 #2A4A0C #477F15 #64B41E #82DD31

Accessibility & contrast

On white

4.87
#477F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#477F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F15
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F15#FFFFFF#000000##FFFFFF
##477F151.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f15;
/* rgb */ color: rgb(71, 127, 21);
/* oklch */ color: oklch(53.7% 0.145 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#477f15',
    950: '#000000',
  },
}
SCSS
$custom: #477f15;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#477f15",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 91.698,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.14507,
    "h": 134.3
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#477F15
secondary
#7B3CB4
accent
#39EE99
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F15

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

Preview Lab → · Contrast checker → · Palette generator →

#477F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva