#477E28#477E28

#477E28 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.132 H 136.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#477E28
RGBrgb(71, 126, 40)
HSLhsl(98, 52%, 33%)
HSVhsv(98, 68%, 49%)
CMYKcmyk(43.7%, 0%, 68.3%, 50.6%)
CIE-LABlab(47.51, -34.29, 39.72)
CIE-LCHlch(47.51, 52.48, 130.80°)
OKLaboklab(53.6% -0.0951 0.0912)
OKLCHoklch(53.6% 0.132 136.2)
XYZxyz(10.4421, 16.4139, 4.6251)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E28 #5F287E
analogous
#727E28 #477E28 #287E34
triadic
#477E28 #28477E #7E2847
tetradic
#477E28 #28727E #5F287E #7E3428
square
#477E28 #28727E #5F287E #7E3428
split-complementary
#477E28 #34287E #7E2872
monochromatic
#13210B #2D5019 #477E28 #61AC37 #80CA57

Accessibility & contrast

On white

4.90
#477E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#477E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E28
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E28#FFFFFF#000000##FFFFFF
##477E281.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741D
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e28;
/* rgb */ color: rgb(71, 126, 40);
/* oklch */ color: oklch(53.6% 0.132 136.2);
Tailwind
colors: {
  custom: {
    50: '#7fa466',
    500: '#477e28',
    950: '#000000',
  },
}
SCSS
$custom: #477e28;
$custom-light: #7fa466;
$custom-dark: #000000;
JSON
{
  "hex": "#477e28",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 98.372,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.13178,
    "h": 136.2
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#477E28
secondary
#8E53AF
accent
#4DDBA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E28

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

Preview Lab → · Contrast checker → · Palette generator →

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