#477E1C#477E1C

#477E1C is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.140 H 134.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#477E1C
RGBrgb(71, 126, 28)
HSLhsl(94, 64%, 30%)
HSVhsv(94, 78%, 49%)
CMYKcmyk(43.7%, 0%, 77.8%, 50.6%)
CIE-LABlab(47.42, -35.24, 44.50)
CIE-LCHlch(47.42, 56.76, 128.37°)
OKLaboklab(53.5% -0.0986 0.0995)
OKLCHoklch(53.5% 0.14 134.8)
XYZxyz(10.2688, 16.3446, 3.7121)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E1C #531C7E
analogous
#787E1C #477E1C #1C7E22
triadic
#477E1C #1C477E #7E1C47
tetradic
#477E1C #1C787E #531C7E #7E221C
square
#477E1C #1C787E #531C7E #7E221C
split-complementary
#477E1C #221C7E #7E1C78
monochromatic
#0F1A06 #2B4C11 #477E1C #63B027 #81D540

Accessibility & contrast

On white

4.92
#477E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#477E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E1C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E1C#FFFFFF#000000##FFFFFF
##477E1C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837306
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477e1c;
/* rgb */ color: rgb(71, 126, 28);
/* oklch */ color: oklch(53.5% 0.140 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#477e1c',
    950: '#000000',
  },
}
SCSS
$custom: #477e1c;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#477e1c",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 93.673,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.14005,
    "h": 134.8
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#477E1C
secondary
#8244B2
accent
#41E79E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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