#477716#477716

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

Color values

HEX#477716
RGBrgb(71, 119, 22)
HSLhsl(90, 69%, 28%)
HSVhsv(90, 82%, 47%)
CMYKcmyk(40.3%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.07, -32.49, 44.33)
CIE-LCHlch(45.07, 54.97, 126.24°)
OKLaboklab(51.56% -0.0916 0.0981)
OKLCHoklch(51.56% 0.134 133)
XYZxyz(9.3400, 14.5907, 3.0831)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477716 #461677
analogous
#777616 #477716 #167716
triadic
#477716 #164777 #771647
tetradic
#477716 #167776 #461677 #771616
square
#477716 #167776 #461677 #771616
split-complementary
#477716 #161677 #761677
monochromatic
#0F1A05 #28430C #477716 #66AB20 #85D92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477716#FFFFFF#000000##FFFFFF
##4777161.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: #477716;
/* rgb */ color: rgb(71, 119, 22);
/* oklch */ color: oklch(51.6% 0.134 133.0);
Tailwind
colors: {
  custom: {
    50: '#7f9e5c',
    500: '#477716',
    950: '#000000',
  },
}
SCSS
$custom: #477716;
$custom-light: #7f9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477716",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 89.691,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.13427,
    "h": 133
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#477716
secondary
#743CAC
accent
#3CEC93
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477716

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

Preview Lab → · Contrast checker → · Palette generator →

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