#477C18#477C18

#477C18 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.140 H 134.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#477C18
RGBrgb(71, 124, 24)
HSLhsl(92, 68%, 29%)
HSVhsv(92, 81%, 49%)
CMYKcmyk(42.7%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.74, -34.61, 45.24)
CIE-LCHlch(46.74, 56.96, 127.42°)
OKLaboklab(52.93% -0.0972 0.1004)
OKLCHoklch(52.93% 0.14 134.1)
XYZxyz(9.9709, 15.8203, 3.3922)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C18 #4D187C
analogous
#797C18 #477C18 #187C1B
triadic
#477C18 #18477C #7C1847
tetradic
#477C18 #18797C #4D187C #7C1B18
square
#477C18 #18797C #4D187C #7C1B18
split-complementary
#477C18 #1B187C #7C1879
monochromatic
#0F1A05 #2A490E #477C18 #64AF22 #82D836

Accessibility & contrast

On white

5.04
#477C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#477C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C18
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C18#FFFFFF#000000##FFFFFF
##477C181.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#467769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c18;
/* rgb */ color: rgb(71, 124, 24);
/* oklch */ color: oklch(52.9% 0.140 134.1);
Tailwind
colors: {
  custom: {
    50: '#7fa25e',
    500: '#477c18',
    950: '#000000',
  },
}
SCSS
$custom: #477c18;
$custom-light: #7fa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#477c18",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 91.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.13971,
    "h": 134.1
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#477C18
secondary
#7B3FB1
accent
#3DEA99
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477C18

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

Preview Lab → · Contrast checker → · Palette generator →

#477C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva