#477E15#477E15

#477E15 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.144 H 134.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#477E15
RGBrgb(71, 126, 21)
HSLhsl(91, 71%, 29%)
HSVhsv(91, 83%, 49%)
CMYKcmyk(43.7%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.38, -35.65, 46.79)
CIE-LCHlch(47.38, 58.83, 127.30°)
OKLaboklab(53.45% -0.1002 0.1032)
OKLCHoklch(53.45% 0.144 134.2)
XYZxyz(10.1946, 16.3149, 3.3212)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E15 #4C157E
analogous
#7C7E15 #477E15 #157E18
triadic
#477E15 #15477E #7E1547
tetradic
#477E15 #157C7E #4C157E #7E1815
square
#477E15 #157C7E #4C157E #7E1815
split-complementary
#477E15 #18157E #7E157C
monochromatic
#0F1A04 #294A0C #477E15 #65B21E #83DD31

Accessibility & contrast

On white

4.93
#477E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#477E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E15
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E15#FFFFFF#000000##FFFFFF
##477E151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477e15;
/* rgb */ color: rgb(71, 126, 21);
/* oklch */ color: oklch(53.5% 0.144 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a45d',
    500: '#477e15',
    950: '#000000',
  },
}
SCSS
$custom: #477e15;
$custom-light: #80a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#477e15",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 91.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.1438,
    "h": 134.2
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#477E15
secondary
#7A3CB3
accent
#3AEE98
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E15

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

Preview Lab → · Contrast checker → · Palette generator →

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