#477517#477517

#477517 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.131 H 132.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#477517
RGBrgb(71, 117, 23)
HSLhsl(89, 67%, 27%)
HSVhsv(89, 80%, 46%)
CMYKcmyk(39.3%, 0%, 80.3%, 54.1%)
CIE-LABlab(44.41, -31.53, 43.37)
CIE-LCHlch(44.41, 53.62, 126.01°)
OKLaboklab(51.02% -0.089 0.0963)
OKLCHoklch(51.02% 0.131 132.7)
XYZxyz(9.1144, 14.1236, 3.0563)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477517 #451775
analogous
#757417 #477517 #187517
triadic
#477517 #174775 #751747
tetradic
#477517 #177574 #451775 #751718
square
#477517 #177574 #451775 #751718
split-complementary
#477517 #171875 #741775
monochromatic
#101A05 #28420D #477517 #66A821 #85D630

Accessibility & contrast

On white

5.49
#477517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#477517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477517
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477517#FFFFFF#000000##FFFFFF
##4775171.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#487063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #477517;
/* rgb */ color: rgb(71, 117, 23);
/* oklch */ color: oklch(51.0% 0.131 132.7);
Tailwind
colors: {
  custom: {
    50: '#7f9d5c',
    500: '#477517',
    950: '#000000',
  },
}
SCSS
$custom: #477517;
$custom-light: #7f9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477517",
  "rgb": {
    "r": 71,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 89.362,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.13109,
    "h": 132.7
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#477517
secondary
#733DAA
accent
#3EEA92
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477517

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

Preview Lab → · Contrast checker → · Palette generator →

#477517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva