#477A22#477A22

#477A22 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.131 H 134.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#477A22
RGBrgb(71, 122, 34)
HSLhsl(95, 56%, 31%)
HSVhsv(95, 72%, 48%)
CMYKcmyk(41.8%, 0%, 72.1%, 52.2%)
CIE-LABlab(46.14, -33.02, 40.87)
CIE-LCHlch(46.14, 52.54, 128.94°)
OKLaboklab(52.46% -0.0922 0.0928)
OKLCHoklch(52.46% 0.131 134.8)
XYZxyz(9.8466, 15.3736, 3.9616)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A22 #55227A
analogous
#737A22 #477A22 #227A29
triadic
#477A22 #22477A #7A2247
tetradic
#477A22 #22737A #55227A #7A2922
square
#477A22 #22737A #55227A #7A2922
split-complementary
#477A22 #29227A #7A2273
monochromatic
#0F1A07 #2B4A15 #477A22 #63AA2F #81CD4A

Accessibility & contrast

On white

5.15
#477A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#477A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A22
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A22#FFFFFF#000000##FFFFFF
##477A221.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#467568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a22;
/* rgb */ color: rgb(71, 122, 34);
/* oklch */ color: oklch(52.5% 0.131 134.8);
Tailwind
colors: {
  custom: {
    50: '#7fa163',
    500: '#477a22',
    950: '#000000',
  },
}
SCSS
$custom: #477a22;
$custom-light: #7fa163;
$custom-dark: #000000;
JSON
{
  "hex": "#477a22",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 94.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.13077,
    "h": 134.8
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#477A22
secondary
#844BAD
accent
#48E0A0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #477A22

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

Preview Lab → · Contrast checker → · Palette generator →

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