#477E1E#477E1E

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

Color values

HEX#477E1E
RGBrgb(71, 126, 30)
HSLhsl(94, 62%, 31%)
HSVhsv(94, 76%, 49%)
CMYKcmyk(43.7%, 0%, 76.2%, 50.6%)
CIE-LABlab(47.44, -35.10, 43.77)
CIE-LCHlch(47.44, 56.11, 128.73°)
OKLaboklab(53.51% -0.0981 0.0982)
OKLCHoklch(53.51% 0.139 135)
XYZxyz(10.2935, 16.3545, 3.8424)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E1E #551E7E
analogous
#777E1E #477E1E #1E7E25
triadic
#477E1E #1E477E #7E1E47
tetradic
#477E1E #1E777E #551E7E #7E251E
square
#477E1E #1E777E #551E7E #7E251E
split-complementary
#477E1E #251E7E #7E1E77
monochromatic
#0F1B06 #2B4D12 #477E1E #63AF2A #81D244

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477E1E#FFFFFF#000000##FFFFFF
##477E1E1.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)
#83730B
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477e1e;
/* rgb */ color: rgb(71, 126, 30);
/* oklch */ color: oklch(53.5% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#7fa461',
    500: '#477e1e',
    950: '#000000',
  },
}
SCSS
$custom: #477e1e;
$custom-light: #7fa461;
$custom-dark: #000000;
JSON
{
  "hex": "#477e1e",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 94.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.13883,
    "h": 135
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#477E1E
secondary
#8447B1
accent
#43E5A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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