#477B29#477B29

#477B29 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.127 H 136.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#477B29
RGBrgb(71, 123, 41)
HSLhsl(98, 50%, 32%)
HSVhsv(98, 67%, 48%)
CMYKcmyk(42.3%, 0%, 66.7%, 51.8%)
CIE-LABlab(46.53, -32.85, 38.21)
CIE-LCHlch(46.53, 50.39, 130.69°)
OKLaboklab(52.8% -0.0911 0.0881)
OKLCHoklch(52.8% 0.127 136)
XYZxyz(10.0815, 15.6651, 4.5898)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B29 #5D297B
analogous
#707B29 #477B29 #297B34
triadic
#477B29 #29477B #7B2947
tetradic
#477B29 #29707B #5D297B #7B3429
square
#477B29 #29707B #5D297B #7B3429
split-complementary
#477B29 #34297B #7B2970
monochromatic
#121F0A #2D4D1A #477B29 #61A938 #80C757

Accessibility & contrast

On white

5.08
#477B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#477B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B29
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B29#FFFFFF#000000##FFFFFF
##477B291.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#45766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b29;
/* rgb */ color: rgb(71, 123, 41);
/* oklch */ color: oklch(52.8% 0.127 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ea167',
    500: '#477b29',
    950: '#000000',
  },
}
SCSS
$custom: #477b29;
$custom-light: #7ea167;
$custom-dark: #000000;
JSON
{
  "hex": "#477b29",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 98.049,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.12677,
    "h": 136
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #477B29

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

Preview Lab → · Contrast checker → · Palette generator →

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