#477418#477418

#477418 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.129 H 132.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#477418
RGBrgb(71, 116, 24)
HSLhsl(89, 66%, 27%)
HSVhsv(89, 79%, 45%)
CMYKcmyk(38.8%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.08, -31.01, 42.71)
CIE-LCHlch(44.08, 52.78, 125.98°)
OKLaboklab(50.76% -0.0875 0.0951)
OKLCHoklch(50.76% 0.129 132.6)
XYZxyz(9.0087, 13.8959, 3.0715)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477418 #451874
analogous
#747318 #477418 #197418
triadic
#477418 #184774 #741847
tetradic
#477418 #187473 #451874 #741819
square
#477418 #187473 #451874 #741819
split-complementary
#477418 #181974 #731874
monochromatic
#101905 #28410E #477418 #66A722 #85D532

Accessibility & contrast

On white

5.56
#477418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#477418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477418
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477418#FFFFFF#000000##FFFFFF
##4774181.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#486F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #477418;
/* rgb */ color: rgb(71, 116, 24);
/* oklch */ color: oklch(50.8% 0.129 132.6);
Tailwind
colors: {
  custom: {
    50: '#7f9c5d',
    500: '#477418',
    950: '#000000',
  },
}
SCSS
$custom: #477418;
$custom-light: #7f9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#477418",
  "rgb": {
    "r": 71,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 89.348,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.12919,
    "h": 132.6
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#477418
secondary
#733FA9
accent
#3FE992
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477418

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

Preview Lab → · Contrast checker → · Palette generator →

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