#477317#477317

#477317 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.128 H 132.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#477317
RGBrgb(71, 115, 23)
HSLhsl(89, 67%, 27%)
HSVhsv(89, 80%, 45%)
CMYKcmyk(38.3%, 0%, 80%, 54.9%)
CIE-LABlab(43.74, -30.61, 42.74)
CIE-LCHlch(43.74, 52.57, 125.61°)
OKLaboklab(50.48% -0.0865 0.095)
OKLCHoklch(50.48% 0.128 132.3)
XYZxyz(8.8838, 13.6625, 2.9795)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477317 #431773
analogous
#737117 #477317 #197317
triadic
#477317 #174773 #731747
tetradic
#477317 #177371 #431773 #731719
square
#477317 #177371 #431773 #731719
split-complementary
#477317 #171973 #711773
monochromatic
#101A05 #28400D #477317 #66A621 #86D52F

Accessibility & contrast

On white

5.63
#477317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#477317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477317
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477317#FFFFFF#000000##FFFFFF
##4773171.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A02
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477317;
/* rgb */ color: rgb(71, 115, 23);
/* oklch */ color: oklch(50.5% 0.128 132.3);
Tailwind
colors: {
  custom: {
    50: '#7e9b5c',
    500: '#477317',
    950: '#000000',
  },
}
SCSS
$custom: #477317;
$custom-light: #7e9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477317",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 88.696,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50477,
    "c": 0.12844,
    "h": 132.3
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#477317
secondary
#713DA9
accent
#3EEA90
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477317

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

Preview Lab → · Contrast checker → · Palette generator →

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