#477E1B#477E1B

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

Color values

HEX#477E1B
RGBrgb(71, 126, 27)
HSLhsl(93, 65%, 30%)
HSVhsv(93, 79%, 49%)
CMYKcmyk(43.7%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.42, -35.30, 44.85)
CIE-LCHlch(47.42, 57.08, 128.21°)
OKLaboklab(53.49% -0.0989 0.1)
OKLCHoklch(53.49% 0.141 134.7)
XYZxyz(10.2570, 16.3399, 3.6501)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E1B #521B7E
analogous
#797E1B #477E1B #1B7E20
triadic
#477E1B #1B477E #7E1B47
tetradic
#477E1B #1B797E #521B7E #7E201B
square
#477E1B #1B797E #521B7E #7E201B
split-complementary
#477E1B #201B7E #7E1B79
monochromatic
#0E1905 #2B4C10 #477E1B #63B026 #81D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477E1B#FFFFFF#000000##FFFFFF
##477E1B1.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)
#837304
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477e1b;
/* rgb */ color: rgb(71, 126, 27);
/* oklch */ color: oklch(53.5% 0.141 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#477e1b',
    950: '#000000',
  },
}
SCSS
$custom: #477e1b;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#477e1b",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 93.333,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.14064,
    "h": 134.7
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#477E1B
secondary
#8143B2
accent
#40E89D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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