#477728#477728

#477728 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.122 H 135.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#477728
RGBrgb(71, 119, 40)
HSLhsl(96, 50%, 31%)
HSVhsv(96, 66%, 47%)
CMYKcmyk(40.3%, 0%, 66.4%, 53.3%)
CIE-LABlab(45.20, -31.12, 37.22)
CIE-LCHlch(45.20, 48.51, 129.90°)
OKLaboklab(51.71% -0.0865 0.0859)
OKLCHoklch(51.71% 0.122 135.2)
XYZxyz(9.5781, 14.6860, 4.3371)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477728 #582877
analogous
#6E7728 #477728 #287730
triadic
#477728 #284777 #772847
tetradic
#477728 #286E77 #582877 #773028
square
#477728 #286E77 #582877 #773028
split-complementary
#477728 #302877 #77286E
monochromatic
#101B09 #2C4919 #477728 #62A537 #80C554

Accessibility & contrast

On white

5.33
#477728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#477728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477728
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477728#FFFFFF#000000##FFFFFF
##4777281.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#467367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #477728;
/* rgb */ color: rgb(71, 119, 40);
/* oklch */ color: oklch(51.7% 0.122 135.2);
Tailwind
colors: {
  custom: {
    50: '#7e9e66',
    500: '#477728',
    950: '#000000',
  },
}
SCSS
$custom: #477728;
$custom-light: #7e9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#477728",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 96.456,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.12191,
    "h": 135.2
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#477728
secondary
#8752A9
accent
#4FD9A3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #477728

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

Preview Lab → · Contrast checker → · Palette generator →

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