#477A15#477A15

#477A15 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.139 H 133.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#477A15
RGBrgb(71, 122, 21)
HSLhsl(90, 71%, 28%)
HSVhsv(90, 83%, 48%)
CMYKcmyk(41.8%, 0%, 82.8%, 52.2%)
CIE-LABlab(46.06, -33.89, 45.57)
CIE-LCHlch(46.06, 56.80, 126.64°)
OKLaboklab(52.37% -0.0955 0.1006)
OKLCHoklch(52.37% 0.139 133.5)
XYZxyz(9.6933, 15.3123, 3.1541)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A15 #48157A
analogous
#797A15 #477A15 #157A16
triadic
#477A15 #15477A #7A1547
tetradic
#477A15 #15797A #48157A #7A1615
square
#477A15 #15797A #48157A #7A1615
split-complementary
#477A15 #16157A #7A1579
monochromatic
#0F1A04 #29460C #477A15 #65AE1E #84DB2E

Accessibility & contrast

On white

5.17
#477A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#477A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A15
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A15#FFFFFF#000000##FFFFFF
##477A151.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#477568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a15;
/* rgb */ color: rgb(71, 122, 21);
/* oklch */ color: oklch(52.4% 0.139 133.5);
Tailwind
colors: {
  custom: {
    50: '#7fa15c',
    500: '#477a15',
    950: '#000000',
  },
}
SCSS
$custom: #477a15;
$custom-light: #7fa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#477a15",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 90.297,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.13868,
    "h": 133.5
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#477A15
secondary
#763BAF
accent
#3AED95
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #477A15

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

Preview Lab → · Contrast checker → · Palette generator →

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