#477E1A#477E1A

#477E1A is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.141 H 134.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#477E1A
RGBrgb(71, 126, 26)
HSLhsl(93, 66%, 30%)
HSVhsv(93, 79%, 49%)
CMYKcmyk(43.7%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.41, -35.37, 45.20)
CIE-LCHlch(47.41, 57.39, 128.04°)
OKLaboklab(53.48% -0.0991 0.1006)
OKLCHoklch(53.48% 0.141 134.6)
XYZxyz(10.2456, 16.3353, 3.5903)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E1A #511A7E
analogous
#797E1A #477E1A #1A7E1F
triadic
#477E1A #1A477E #7E1A47
tetradic
#477E1A #1A797E #511A7E #7E1F1A
square
#477E1A #1A797E #511A7E #7E1F1A
split-complementary
#477E1A #1F1A7E #7E1A79
monochromatic
#0E1905 #2A4B10 #477E1A #64B124 #81D73C

Accessibility & contrast

On white

4.92
#477E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#477E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E1A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E1A#FFFFFF#000000##FFFFFF
##477E1A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477e1a;
/* rgb */ color: rgb(71, 126, 26);
/* oklch */ color: oklch(53.5% 0.141 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#477e1a',
    950: '#000000',
  },
}
SCSS
$custom: #477e1a;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#477e1a",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 93,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.14121,
    "h": 134.6
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

primary
#477E1A
secondary
#8042B2
accent
#3FE99C
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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