#477F22#477F22

#477F22 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.138 H 135.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#477F22
RGBrgb(71, 127, 34)
HSLhsl(96, 58%, 32%)
HSVhsv(96, 73%, 50%)
CMYKcmyk(44.1%, 0%, 73.2%, 50.2%)
CIE-LABlab(47.79, -35.24, 42.57)
CIE-LCHlch(47.79, 55.26, 129.62°)
OKLaboklab(53.81% -0.0982 0.0963)
OKLCHoklch(53.81% 0.138 135.5)
XYZxyz(10.4764, 16.6332, 4.1716)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F22 #5A227F
analogous
#767F22 #477F22 #227F2C
triadic
#477F22 #22477F #7F2247
tetradic
#477F22 #22767F #5A227F #7F2C22
square
#477F22 #22767F #5A227F #7F2C22
split-complementary
#477F22 #2C227F #7F2276
monochromatic
#111E08 #2C4F15 #477F22 #62AF2F #80CF4C

Accessibility & contrast

On white

4.85
#477F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#477F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F22
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F22#FFFFFF#000000##FFFFFF
##477F221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f22;
/* rgb */ color: rgb(71, 127, 34);
/* oklch */ color: oklch(53.8% 0.138 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa463',
    500: '#477f22',
    950: '#000000',
  },
}
SCSS
$custom: #477f22;
$custom-light: #7fa463;
$custom-dark: #000000;
JSON
{
  "hex": "#477f22",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 96.129,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.13755,
    "h": 135.5
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#477F22
secondary
#894BB2
accent
#47E1A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #477F22

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

Preview Lab → · Contrast checker → · Palette generator →

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