#477718#477718

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

Color values

HEX#477718
RGBrgb(71, 119, 24)
HSLhsl(90, 66%, 28%)
HSVhsv(90, 80%, 47%)
CMYKcmyk(40.3%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.08, -32.38, 43.66)
CIE-LCHlch(45.08, 54.36, 126.56°)
OKLaboklab(51.57% -0.0912 0.0971)
OKLCHoklch(51.57% 0.133 133.2)
XYZxyz(9.3601, 14.5987, 3.1886)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477718 #481877
analogous
#767718 #477718 #187718
triadic
#477718 #184777 #771847
tetradic
#477718 #187677 #481877 #771818
square
#477718 #187677 #481877 #771818
split-complementary
#477718 #181877 #771876
monochromatic
#0F1905 #29440E #477718 #65AA22 #84D633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477718#FFFFFF#000000##FFFFFF
##4777181.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)
#7C6D02
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#477265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #477718;
/* rgb */ color: rgb(71, 119, 24);
/* oklch */ color: oklch(51.6% 0.133 133.2);
Tailwind
colors: {
  custom: {
    50: '#7f9e5d',
    500: '#477718',
    950: '#000000',
  },
}
SCSS
$custom: #477718;
$custom-light: #7f9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#477718",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 90.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.13317,
    "h": 133.2
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#477718
secondary
#763FAC
accent
#3EE995
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477718

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

Preview Lab → · Contrast checker → · Palette generator →

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