#477311#477311

#477311 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.4% C 0.132 H 131.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#477311
RGBrgb(71, 115, 17)
HSLhsl(87, 74%, 26%)
HSVhsv(87, 85%, 45%)
CMYKcmyk(38.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.71, -30.93, 44.65)
CIE-LCHlch(43.71, 54.32, 124.71°)
OKLaboklab(50.44% -0.0878 0.098)
OKLCHoklch(50.44% 0.132 131.9)
XYZxyz(8.8304, 13.6412, 2.6979)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477311 #3D1173
analogous
#736E11 #477311 #167311
triadic
#477311 #114773 #731147
tetradic
#477311 #11736E #3D1173 #731116
square
#477311 #11736E #3D1173 #731116
split-complementary
#477311 #111673 #6E1173
monochromatic
#101B04 #263E09 #477311 #68A819 #89DE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477311#FFFFFF#000000##FFFFFF
##4773111.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)
#786900
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#486E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477311;
/* rgb */ color: rgb(71, 115, 17);
/* oklch */ color: oklch(50.4% 0.132 131.9);
Tailwind
colors: {
  custom: {
    50: '#7f9b5a',
    500: '#477311',
    950: '#000000',
  },
}
SCSS
$custom: #477311;
$custom-light: #7f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#477311",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 86.939,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.13154,
    "h": 131.9
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#477311
secondary
#6A36AA
accent
#37F18A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477311

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

Preview Lab → · Contrast checker → · Palette generator →

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