#477F29#477F29

#477F29 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.132 H 136.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#477F29
RGBrgb(71, 127, 41)
HSLhsl(99, 51%, 33%)
HSVhsv(99, 68%, 50%)
CMYKcmyk(44.1%, 0%, 67.7%, 50.2%)
CIE-LABlab(47.85, -34.64, 39.64)
CIE-LCHlch(47.85, 52.64, 131.15°)
OKLaboklab(53.88% -0.096 0.0912)
OKLCHoklch(53.88% 0.132 136.5)
XYZxyz(10.5879, 16.6778, 4.7586)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F29 #61297F
analogous
#727F29 #477F29 #297F36
triadic
#477F29 #29477F #7F2947
tetradic
#477F29 #29727F #61297F #7F3629
square
#477F29 #29727F #61297F #7F3629
split-complementary
#477F29 #36297F #7F2972
monochromatic
#13220B #2D511A #477F29 #61AD38 #80C959

Accessibility & contrast

On white

4.84
#477F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#477F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F29
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F29#FFFFFF#000000##FFFFFF
##477F291.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751E
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #477f29;
/* rgb */ color: rgb(71, 127, 41);
/* oklch */ color: oklch(53.9% 0.132 136.5);
Tailwind
colors: {
  custom: {
    50: '#7fa467',
    500: '#477f29',
    950: '#000000',
  },
}
SCSS
$custom: #477f29;
$custom-light: #7fa467;
$custom-dark: #000000;
JSON
{
  "hex": "#477f29",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 99.07,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.13239,
    "h": 136.5
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#477F29
secondary
#8F55AF
accent
#4DDBA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F29

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

Preview Lab → · Contrast checker → · Palette generator →

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