#477B17#477B17

#477B17 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.139 H 133.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#477B17
RGBrgb(71, 123, 23)
HSLhsl(91, 68%, 29%)
HSVhsv(91, 81%, 48%)
CMYKcmyk(42.3%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.40, -34.22, 45.25)
CIE-LCHlch(46.40, 56.74, 127.10°)
OKLaboklab(52.65% -0.0962 0.1002)
OKLCHoklch(52.65% 0.139 133.8)
XYZxyz(9.8360, 15.5669, 3.2969)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B17 #4B177B
analogous
#797B17 #477B17 #177B19
triadic
#477B17 #17477B #7B1747
tetradic
#477B17 #17797B #4B177B #7B1917
square
#477B17 #17797B #4B177B #7B1917
split-complementary
#477B17 #19177B #7B1779
monochromatic
#0F1A05 #29470D #477B17 #65AF21 #83D933

Accessibility & contrast

On white

5.11
#477B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#477B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B17#FFFFFF#000000##FFFFFF
##477B171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#477668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b17;
/* rgb */ color: rgb(71, 123, 23);
/* oklch */ color: oklch(52.6% 0.139 133.8);
Tailwind
colors: {
  custom: {
    50: '#7fa15d',
    500: '#477b17',
    950: '#000000',
  },
}
SCSS
$custom: #477b17;
$custom-light: #7fa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#477b17",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 91.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.13895,
    "h": 133.8
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#477B17
secondary
#793EB0
accent
#3CEB97
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477B17

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

Preview Lab → · Contrast checker → · Palette generator →

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