#477D18#477D18

#477D18 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.2% C 0.141 H 134.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#477D18
RGBrgb(71, 125, 24)
HSLhsl(92, 68%, 29%)
HSVhsv(92, 81%, 49%)
CMYKcmyk(43.2%, 0%, 80.8%, 51%)
CIE-LABlab(47.07, -35.05, 45.55)
CIE-LCHlch(47.07, 57.47, 127.58°)
OKLaboklab(53.2% -0.0984 0.101)
OKLCHoklch(53.2% 0.141 134.2)
XYZxyz(10.0968, 16.0722, 3.4342)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D18 #4E187D
analogous
#7A7D18 #477D18 #187D1C
triadic
#477D18 #18477D #7D1847
tetradic
#477D18 #187A7D #4E187D #7D1C18
square
#477D18 #187A7D #4E187D #7D1C18
split-complementary
#477D18 #1C187D #7D187A
monochromatic
#0F1A05 #2A4A0E #477D18 #64B022 #82D937

Accessibility & contrast

On white

4.98
#477D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#477D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D18#FFFFFF#000000##FFFFFF
##477D181.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#46786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d18;
/* rgb */ color: rgb(71, 125, 24);
/* oklch */ color: oklch(53.2% 0.141 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a35e',
    500: '#477d18',
    950: '#000000',
  },
}
SCSS
$custom: #477d18;
$custom-light: #80a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#477d18",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 92.079,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.141,
    "h": 134.2
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#477D18
secondary
#7C3FB2
accent
#3DEB9A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477D18

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

Preview Lab → · Contrast checker → · Palette generator →

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