#477F28#477F28

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

Color values

HEX#477F28
RGBrgb(71, 127, 40)
HSLhsl(99, 52%, 33%)
HSVhsv(99, 69%, 50%)
CMYKcmyk(44.1%, 0%, 68.5%, 50.2%)
CIE-LABlab(47.84, -34.73, 40.08)
CIE-LCHlch(47.84, 53.03, 130.92°)
OKLaboklab(53.87% -0.0963 0.0919)
OKLCHoklch(53.87% 0.133 136.3)
XYZxyz(10.5706, 16.6709, 4.6679)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F28 #60287F
analogous
#727F28 #477F28 #287F35
triadic
#477F28 #28477F #7F2847
tetradic
#477F28 #28727F #60287F #7F3528
square
#477F28 #28727F #60287F #7F3528
split-complementary
#477F28 #35287F #7F2872
monochromatic
#13220B #2D5019 #477F28 #61AE37 #80CA57

Accessibility & contrast

On white

4.84
#477F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477F28
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F28#FFFFFF#000000##FFFFFF
##477F281.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477f28;
/* rgb */ color: rgb(71, 127, 40);
/* oklch */ color: oklch(53.9% 0.133 136.3);
Tailwind
colors: {
  custom: {
    50: '#7fa467',
    500: '#477f28',
    950: '#000000',
  },
}
SCSS
$custom: #477f28;
$custom-light: #7fa467;
$custom-dark: #000000;
JSON
{
  "hex": "#477f28",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 98.621,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53869,
    "c": 0.13317,
    "h": 136.3
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#477F28
secondary
#8F54AF
accent
#4CDCA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F28

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

Preview Lab → · Contrast checker → · Palette generator →

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