#477816#477816

#477816 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.136 H 133.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#477816
RGBrgb(71, 120, 22)
HSLhsl(90, 69%, 28%)
HSVhsv(90, 82%, 47%)
CMYKcmyk(40.8%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.40, -32.94, 44.64)
CIE-LCHlch(45.40, 55.48, 126.43°)
OKLaboklab(51.83% -0.0928 0.0988)
OKLCHoklch(51.83% 0.136 133.2)
XYZxyz(9.4597, 14.8300, 3.1229)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477816 #471678
analogous
#787816 #477816 #167816
triadic
#477816 #164778 #781647
tetradic
#477816 #167878 #471678 #781616
square
#477816 #167878 #471678 #781616
split-complementary
#477816 #161678 #781678
monochromatic
#0F1A05 #28440D #477816 #66AC1F #84D92F

Accessibility & contrast

On white

5.30
#477816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#477816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477816
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477816#FFFFFF#000000##FFFFFF
##4778161.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#477366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #477816;
/* rgb */ color: rgb(71, 120, 22);
/* oklch */ color: oklch(51.8% 0.136 133.2);
Tailwind
colors: {
  custom: {
    50: '#7f9f5c',
    500: '#477816',
    950: '#000000',
  },
}
SCSS
$custom: #477816;
$custom-light: #7f9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477816",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.13558,
    "h": 133.2
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#477816
secondary
#753CAD
accent
#3CEC94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477816

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

Preview Lab → · Contrast checker → · Palette generator →

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