#477318#477318

#477318 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.128 H 132.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#477318
RGBrgb(71, 115, 24)
HSLhsl(89, 65%, 27%)
HSVhsv(89, 79%, 45%)
CMYKcmyk(38.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.75, -30.55, 42.39)
CIE-LCHlch(43.75, 52.25, 125.78°)
OKLaboklab(50.48% -0.0862 0.0944)
OKLCHoklch(50.48% 0.128 132.4)
XYZxyz(8.8940, 13.6666, 3.0333)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477318 #441873
analogous
#737218 #477318 #197318
triadic
#477318 #184773 #731847
tetradic
#477318 #187372 #441873 #731819
square
#477318 #187372 #441873 #731819
split-complementary
#477318 #181973 #721873
monochromatic
#101905 #28400D #477318 #66A623 #85D431

Accessibility & contrast

On white

5.62
#477318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#477318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477318
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477318#FFFFFF#000000##FFFFFF
##4773181.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477318;
/* rgb */ color: rgb(71, 115, 24);
/* oklch */ color: oklch(50.5% 0.128 132.4);
Tailwind
colors: {
  custom: {
    50: '#7e9b5d',
    500: '#477318',
    950: '#000000',
  },
}
SCSS
$custom: #477318;
$custom-light: #7e9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#477318",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 89.011,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.12785,
    "h": 132.4
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#477318
secondary
#723FA8
accent
#3FE891
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477318

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

Preview Lab → · Contrast checker → · Palette generator →

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