#477717#477717

#477717 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.134 H 133.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#477717
RGBrgb(71, 119, 23)
HSLhsl(90, 68%, 28%)
HSVhsv(90, 81%, 47%)
CMYKcmyk(40.3%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.07, -32.44, 44.00)
CIE-LCHlch(45.07, 54.67, 126.40°)
OKLaboklab(51.56% -0.0914 0.0976)
OKLCHoklch(51.56% 0.134 133.1)
XYZxyz(9.3499, 14.5947, 3.1348)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477717 #471777
analogous
#777717 #477717 #177717
triadic
#477717 #174777 #771747
tetradic
#477717 #177777 #471777 #771717
square
#477717 #177777 #471777 #771717
split-complementary
#477717 #171777 #771777
monochromatic
#0F1A05 #28440D #477717 #66AA21 #84D731

Accessibility & contrast

On white

5.36
#477717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#477717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477717
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477717#FFFFFF#000000##FFFFFF
##4777171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#477265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #477717;
/* rgb */ color: rgb(71, 119, 23);
/* oklch */ color: oklch(51.6% 0.134 133.1);
Tailwind
colors: {
  custom: {
    50: '#7f9e5d',
    500: '#477717',
    950: '#000000',
  },
}
SCSS
$custom: #477717;
$custom-light: #7f9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#477717",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.13373,
    "h": 133.1
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#477717
secondary
#753EAC
accent
#3DEA94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477717

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

Preview Lab → · Contrast checker → · Palette generator →

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