#477F19#477F19

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

Color values

HEX#477F19
RGBrgb(71, 127, 25)
HSLhsl(93, 67%, 30%)
HSVhsv(93, 80%, 50%)
CMYKcmyk(44.1%, 0%, 80.3%, 50.2%)
CIE-LABlab(47.74, -35.86, 45.85)
CIE-LCHlch(47.74, 58.20, 128.03°)
OKLaboklab(53.75% -0.1005 0.1018)
OKLCHoklch(53.75% 0.143 134.6)
XYZxyz(10.3632, 16.5879, 3.5753)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F19 #51197F
analogous
#7A7F19 #477F19 #197F1E
triadic
#477F19 #19477F #7F1947
tetradic
#477F19 #197A7F #51197F #7F1E19
square
#477F19 #197A7F #51197F #7F1E19
split-complementary
#477F19 #1E197F #7F197A
monochromatic
#0E1A05 #2A4C0F #477F19 #64B223 #81D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477F19#FFFFFF#000000##FFFFFF
##477F191.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)
#7D7024
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f19;
/* rgb */ color: rgb(71, 127, 25);
/* oklch */ color: oklch(53.7% 0.143 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#477f19',
    950: '#000000',
  },
}
SCSS
$custom: #477f19;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#477f19",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 92.941,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.14305,
    "h": 134.6
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#477F19
secondary
#8041B3
accent
#3EEA9C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F19

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

Preview Lab → · Contrast checker → · Palette generator →

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