#477F1A#477F1A

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

Color values

HEX#477F1A
RGBrgb(71, 127, 26)
HSLhsl(93, 66%, 30%)
HSVhsv(93, 80%, 50%)
CMYKcmyk(44.1%, 0%, 79.5%, 50.2%)
CIE-LABlab(47.74, -35.80, 45.51)
CIE-LCHlch(47.74, 57.91, 128.19°)
OKLaboklab(53.76% -0.1003 0.1013)
OKLCHoklch(53.76% 0.143 134.7)
XYZxyz(10.3741, 16.5923, 3.6331)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F1A #521A7F
analogous
#7A7F1A #477F1A #1A7F1F
triadic
#477F1A #1A477F #7F1A47
tetradic
#477F1A #1A7A7F #521A7F #7F1F1A
square
#477F1A #1A7A7F #521A7F #7F1F1A
split-complementary
#477F1A #1F1A7F #7F1A7A
monochromatic
#0E1905 #2B4C10 #477F1A #63B224 #81D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477F1A#FFFFFF#000000##FFFFFF
##477F1A1.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)
#847401
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f1a;
/* rgb */ color: rgb(71, 127, 26);
/* oklch */ color: oklch(53.8% 0.142 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a45f',
    500: '#477f1a',
    950: '#000000',
  },
}
SCSS
$custom: #477f1a;
$custom-light: #80a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#477f1a",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 93.267,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.1425,
    "h": 134.7
  },
  "luminance": 0.16593
}

Semantic roles & 50–950 ramp

primary
#477F1A
secondary
#8142B3
accent
#3FE99D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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