#477C17#477C17

#477C17 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.140 H 134.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#477C17
RGBrgb(71, 124, 23)
HSLhsl(91, 69%, 29%)
HSVhsv(91, 81%, 49%)
CMYKcmyk(42.7%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.73, -34.67, 45.56)
CIE-LCHlch(46.73, 57.25, 127.27°)
OKLaboklab(52.92% -0.0974 0.1009)
OKLCHoklch(52.92% 0.14 134)
XYZxyz(9.9607, 15.8162, 3.3384)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C17 #4C177C
analogous
#7A7C17 #477C17 #177C1A
triadic
#477C17 #17477C #7C1747
tetradic
#477C17 #177A7C #4C177C #7C1A17
square
#477C17 #177A7C #4C177C #7C1A17
split-complementary
#477C17 #1A177C #7C177A
monochromatic
#0F1A05 #29480D #477C17 #65B021 #83D934

Accessibility & contrast

On white

5.04
#477C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#477C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C17#FFFFFF#000000##FFFFFF
##477C171.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#467769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c17;
/* rgb */ color: rgb(71, 124, 23);
/* oklch */ color: oklch(52.9% 0.140 134.0);
Tailwind
colors: {
  custom: {
    50: '#80a25d',
    500: '#477c17',
    950: '#000000',
  },
}
SCSS
$custom: #477c17;
$custom-light: #80a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#477c17",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 91.485,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.14024,
    "h": 134
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#477C17
secondary
#7A3EB1
accent
#3CEC98
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477C17

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

Preview Lab → · Contrast checker → · Palette generator →

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