#477F18#477F18

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

Color values

HEX#477F18
RGBrgb(71, 127, 24)
HSLhsl(93, 68%, 30%)
HSVhsv(93, 81%, 50%)
CMYKcmyk(44.1%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.73, -35.92, 46.17)
CIE-LCHlch(47.73, 58.50, 127.88°)
OKLaboklab(53.74% -0.1007 0.1023)
OKLCHoklch(53.74% 0.144 134.5)
XYZxyz(10.3526, 16.5837, 3.5195)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F18 #50187F
analogous
#7B7F18 #477F18 #187F1C
triadic
#477F18 #18477F #7F1847
tetradic
#477F18 #187B7F #50187F #7F1C18
square
#477F18 #187B7F #50187F #7F1C18
split-complementary
#477F18 #1C187F #7F187B
monochromatic
#0E1A05 #2A4C0E #477F18 #64B222 #82D938

Accessibility & contrast

On white

4.86
#477F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#477F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F18#FFFFFF#000000##FFFFFF
##477F181.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477f18;
/* rgb */ color: rgb(71, 127, 24);
/* oklch */ color: oklch(53.7% 0.144 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a45e',
    500: '#477f18',
    950: '#000000',
  },
}
SCSS
$custom: #477f18;
$custom-light: #80a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#477f18",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 92.621,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.14358,
    "h": 134.5
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#477F18
secondary
#7E3FB3
accent
#3DEB9C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F18

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

Preview Lab → · Contrast checker → · Palette generator →

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