#477E18#477E18

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

Color values

HEX#477E18
RGBrgb(71, 126, 24)
HSLhsl(92, 68%, 29%)
HSVhsv(92, 81%, 49%)
CMYKcmyk(43.7%, 0%, 81%, 50.6%)
CIE-LABlab(47.40, -35.48, 45.86)
CIE-LCHlch(47.40, 57.99, 127.73°)
OKLaboklab(53.47% -0.0995 0.1017)
OKLCHoklch(53.47% 0.142 134.4)
XYZxyz(10.2241, 16.3267, 3.4766)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E18 #4F187E
analogous
#7A7E18 #477E18 #187E1C
triadic
#477E18 #18477E #7E1847
tetradic
#477E18 #187A7E #4F187E #7E1C18
square
#477E18 #187A7E #4F187E #7E1C18
split-complementary
#477E18 #1C187E #7E187A
monochromatic
#0E1A05 #2A4B0E #477E18 #64B122 #82D937

Accessibility & contrast

On white

4.92
#477E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#477E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E18#FFFFFF#000000##FFFFFF
##477E181.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477e18;
/* rgb */ color: rgb(71, 126, 24);
/* oklch */ color: oklch(53.5% 0.142 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#477e18',
    950: '#000000',
  },
}
SCSS
$custom: #477e18;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#477e18",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 92.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.14229,
    "h": 134.4
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#477E18
secondary
#7D3FB2
accent
#3DEB9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E18

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

Preview Lab → · Contrast checker → · Palette generator →

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