#477F1B#477F1B

#477F1B is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.142 H 134.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#477F1B
RGBrgb(71, 127, 27)
HSLhsl(94, 65%, 30%)
HSVhsv(94, 79%, 50%)
CMYKcmyk(44.1%, 0%, 78.7%, 50.2%)
CIE-LABlab(47.75, -35.74, 45.17)
CIE-LCHlch(47.75, 57.60, 128.35°)
OKLaboklab(53.76% -0.1 0.1007)
OKLCHoklch(53.76% 0.142 134.8)
XYZxyz(10.3855, 16.5969, 3.6930)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F1B #531B7F
analogous
#797F1B #477F1B #1B7F21
triadic
#477F1B #1B477F #7F1B47
tetradic
#477F1B #1B797F #531B7F #7F211B
square
#477F1B #1B797F #531B7F #7F211B
split-complementary
#477F1B #211B7F #7F1B79
monochromatic
#0F1A06 #2B4D10 #477F1B #63B126 #81D63E

Accessibility & contrast

On white

4.86
#477F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#477F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F1B#FFFFFF#000000##FFFFFF
##477F1B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#7C7026
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f1b;
/* rgb */ color: rgb(71, 127, 27);
/* oklch */ color: oklch(53.8% 0.142 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#477f1b',
    950: '#000000',
  },
}
SCSS
$custom: #477f1b;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#477f1b",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 93.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.14194,
    "h": 134.8
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#477F1B
secondary
#8243B3
accent
#40E89E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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