#477C29#477C29

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

Color values

HEX#477C29
RGBrgb(71, 124, 41)
HSLhsl(98, 50%, 32%)
HSVhsv(98, 67%, 49%)
CMYKcmyk(42.7%, 0%, 66.9%, 51.4%)
CIE-LABlab(46.86, -33.30, 38.57)
CIE-LCHlch(46.86, 50.96, 130.81°)
OKLaboklab(53.07% -0.0924 0.0889)
OKLCHoklch(53.07% 0.128 136.1)
XYZxyz(10.2062, 15.9144, 4.6314)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C29 #5E297C
analogous
#717C29 #477C29 #297C34
triadic
#477C29 #29477C #7C2947
tetradic
#477C29 #29717C #5E297C #7C3429
square
#477C29 #29717C #5E297C #7C3429
split-complementary
#477C29 #34297C #7C2971
monochromatic
#12200B #2D4E1A #477C29 #61AA38 #80C858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477C29#FFFFFF#000000##FFFFFF
##477C291.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)
#80721F
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#45776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c29;
/* rgb */ color: rgb(71, 124, 41);
/* oklch */ color: oklch(53.1% 0.128 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa267',
    500: '#477c29',
    950: '#000000',
  },
}
SCSS
$custom: #477c29;
$custom-light: #7fa267;
$custom-dark: #000000;
JSON
{
  "hex": "#477c29",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 98.313,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.12819,
    "h": 136.1
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#477C29
secondary
#8D54AD
accent
#4EDAA7
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C29

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

Preview Lab → · Contrast checker → · Palette generator →

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