#477A14#477A14

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

Color values

HEX#477A14
RGBrgb(71, 122, 20)
HSLhsl(90, 72%, 28%)
HSVhsv(90, 84%, 48%)
CMYKcmyk(41.8%, 0%, 83.6%, 52.2%)
CIE-LABlab(46.05, -33.94, 45.88)
CIE-LCHlch(46.05, 57.07, 126.50°)
OKLaboklab(52.36% -0.0957 0.1011)
OKLCHoklch(52.36% 0.139 133.4)
XYZxyz(9.6842, 15.3087, 3.1063)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A14 #47147A
analogous
#7A7A14 #477A14 #147A14
triadic
#477A14 #14477A #7A1447
tetradic
#477A14 #147A7A #47147A #7A1414
square
#477A14 #147A7A #47147A #7A1414
split-complementary
#477A14 #14147A #7A147A
monochromatic
#0F1A04 #28450B #477A14 #66AF1D #84DC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477A14#FFFFFF#000000##FFFFFF
##477A141.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)
#786C20
Tritanopia (blue-blind)
#477567
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a14;
/* rgb */ color: rgb(71, 122, 20);
/* oklch */ color: oklch(52.4% 0.139 133.4);
Tailwind
colors: {
  custom: {
    50: '#7fa15c',
    500: '#477a14',
    950: '#000000',
  },
}
SCSS
$custom: #477a14;
$custom-light: #7fa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#477a14",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.13916,
    "h": 133.4
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#477A14
secondary
#753AB0
accent
#39EF94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #477A14

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

Preview Lab → · Contrast checker → · Palette generator →

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