#477C2A#477C2A

#477C2A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.127 H 136.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#477C2A
RGBrgb(71, 124, 42)
HSLhsl(99, 49%, 33%)
HSVhsv(99, 66%, 49%)
CMYKcmyk(42.7%, 0%, 66.1%, 51.4%)
CIE-LABlab(46.87, -33.21, 38.12)
CIE-LCHlch(46.87, 50.55, 131.06°)
OKLaboklab(53.08% -0.092 0.0881)
OKLCHoklch(53.08% 0.127 136.3)
XYZxyz(10.2238, 15.9215, 4.7245)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C2A #5F2A7C
analogous
#707C2A #477C2A #2A7C36
triadic
#477C2A #2A477C #7C2A47
tetradic
#477C2A #2A707C #5F2A7C #7C362A
square
#477C2A #2A707C #5F2A7C #7C362A
split-complementary
#477C2A #362A7C #7C2A70
monochromatic
#13210B #2D4E1B #477C2A #61AA39 #80C759

Accessibility & contrast

On white

5.02
#477C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#477C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C2A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C2A#FFFFFF#000000##FFFFFF
##477C2A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#45776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c2a;
/* rgb */ color: rgb(71, 124, 42);
/* oklch */ color: oklch(53.1% 0.127 136.3);
Tailwind
colors: {
  custom: {
    50: '#7fa267',
    500: '#477c2a',
    950: '#000000',
  },
}
SCSS
$custom: #477c2a;
$custom-light: #7fa267;
$custom-dark: #000000;
JSON
{
  "hex": "#477c2a",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 98.78,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.12737,
    "h": 136.3
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#477C2A
secondary
#8E55AD
accent
#4FD9A8
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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