#477F25#477F25

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

Color values

HEX#477F25
RGBrgb(71, 127, 37)
HSLhsl(97, 55%, 32%)
HSVhsv(97, 71%, 50%)
CMYKcmyk(44.1%, 0%, 70.9%, 50.2%)
CIE-LABlab(47.82, -35.00, 41.35)
CIE-LCHlch(47.82, 54.17, 130.25°)
OKLaboklab(53.84% -0.0973 0.0942)
OKLCHoklch(53.84% 0.135 135.9)
XYZxyz(10.5216, 16.6513, 4.4095)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F25 #5D257F
analogous
#747F25 #477F25 #257F30
triadic
#477F25 #25477F #7F2547
tetradic
#477F25 #25747F #5D257F #7F3025
square
#477F25 #25747F #5D257F #7F3025
split-complementary
#477F25 #30257F #7F2574
monochromatic
#122009 #2D5017 #477F25 #61AE33 #80CD52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477F25#FFFFFF#000000##FFFFFF
##477F251.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)
#847418
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f25;
/* rgb */ color: rgb(71, 127, 37);
/* oklch */ color: oklch(53.8% 0.135 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa465',
    500: '#477f25',
    950: '#000000',
  },
}
SCSS
$custom: #477f25;
$custom-light: #7fa465;
$custom-dark: #000000;
JSON
{
  "hex": "#477f25",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 97.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.13543,
    "h": 135.9
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#477F25
secondary
#8C4FB1
accent
#4ADEA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F25

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

Preview Lab → · Contrast checker → · Palette generator →

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