#477C1A#477C1A

#477C1A is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.139 H 134.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#477C1A
RGBrgb(71, 124, 26)
HSLhsl(92, 65%, 29%)
HSVhsv(92, 79%, 49%)
CMYKcmyk(42.7%, 0%, 79%, 51.4%)
CIE-LABlab(46.75, -34.49, 44.56)
CIE-LCHlch(46.75, 56.35, 127.74°)
OKLaboklab(52.94% -0.0967 0.0993)
OKLCHoklch(52.94% 0.139 134.3)
XYZxyz(9.9924, 15.8289, 3.5059)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C1A #4F1A7C
analogous
#787C1A #477C1A #1A7C1E
triadic
#477C1A #1A477C #7C1A47
tetradic
#477C1A #1A787C #4F1A7C #7C1E1A
square
#477C1A #1A787C #4F1A7C #7C1E1A
split-complementary
#477C1A #1E1A7C #7C1A78
monochromatic
#0E1905 #2A490F #477C1A #64AF25 #82D63B

Accessibility & contrast

On white

5.04
#477C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#477C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C1A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C1A#FFFFFF#000000##FFFFFF
##477C1A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c1a;
/* rgb */ color: rgb(71, 124, 26);
/* oklch */ color: oklch(52.9% 0.139 134.3);
Tailwind
colors: {
  custom: {
    50: '#7fa25f',
    500: '#477c1a',
    950: '#000000',
  },
}
SCSS
$custom: #477c1a;
$custom-light: #7fa25f;
$custom-dark: #000000;
JSON
{
  "hex": "#477c1a",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 92.449,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52941,
    "c": 0.1386,
    "h": 134.3
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#477C1A
secondary
#7D42B0
accent
#40E89B
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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