#477F27#477F27

#477F27 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.134 H 136.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#477F27
RGBrgb(71, 127, 39)
HSLhsl(98, 53%, 33%)
HSVhsv(98, 69%, 50%)
CMYKcmyk(44.1%, 0%, 69.3%, 50.2%)
CIE-LABlab(47.83, -34.83, 40.51)
CIE-LCHlch(47.83, 53.42, 130.69°)
OKLaboklab(53.86% -0.0967 0.0927)
OKLCHoklch(53.86% 0.134 136.2)
XYZxyz(10.5538, 16.6642, 4.5795)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F27 #5F277F
analogous
#737F27 #477F27 #277F33
triadic
#477F27 #27477F #7F2747
tetradic
#477F27 #27737F #5F277F #7F3327
square
#477F27 #27737F #5F277F #7F3327
split-complementary
#477F27 #33277F #7F2773
monochromatic
#13210A #2D5019 #477F27 #61AE35 #80CB55

Accessibility & contrast

On white

4.85
#477F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#477F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F27
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F27#FFFFFF#000000##FFFFFF
##477F271.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f27;
/* rgb */ color: rgb(71, 127, 39);
/* oklch */ color: oklch(53.9% 0.134 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa466',
    500: '#477f27',
    950: '#000000',
  },
}
SCSS
$custom: #477f27;
$custom-light: #7fa466;
$custom-dark: #000000;
JSON
{
  "hex": "#477f27",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 98.182,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.13393,
    "h": 136.2
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#477F27
secondary
#8E52B0
accent
#4BDCA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F27

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

Preview Lab → · Contrast checker → · Palette generator →

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