#477518#477518

#477518 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.131 H 132.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#477518
RGBrgb(71, 117, 24)
HSLhsl(90, 66%, 28%)
HSVhsv(90, 79%, 46%)
CMYKcmyk(39.3%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.42, -31.47, 43.03)
CIE-LCHlch(44.42, 53.31, 126.18°)
OKLaboklab(51.03% -0.0887 0.0957)
OKLCHoklch(51.03% 0.131 132.8)
XYZxyz(9.1246, 14.1277, 3.1101)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477518 #461875
analogous
#757418 #477518 #197518
triadic
#477518 #184775 #751847
tetradic
#477518 #187574 #461875 #751819
square
#477518 #187574 #461875 #751819
split-complementary
#477518 #181975 #741875
monochromatic
#0F1905 #28420E #477518 #66A822 #85D532

Accessibility & contrast

On white

5.49
#477518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#477518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477518
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477518#FFFFFF#000000##FFFFFF
##4775181.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#477063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #477518;
/* rgb */ color: rgb(71, 117, 24);
/* oklch */ color: oklch(51.0% 0.131 132.8);
Tailwind
colors: {
  custom: {
    50: '#7f9d5d',
    500: '#477518',
    950: '#000000',
  },
}
SCSS
$custom: #477518;
$custom-light: #7f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#477518",
  "rgb": {
    "r": 71,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 89.677,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.13053,
    "h": 132.8
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#477518
secondary
#743FAA
accent
#3FE993
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477518

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

Preview Lab → · Contrast checker → · Palette generator →

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