#477A2D#477A2D

#477A2D is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.122 H 136.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#477A2D
RGBrgb(71, 122, 45)
HSLhsl(100, 46%, 33%)
HSVhsv(100, 63%, 48%)
CMYKcmyk(41.8%, 0%, 63.1%, 52.2%)
CIE-LABlab(46.24, -31.99, 36.00)
CIE-LCHlch(46.24, 48.16, 131.62°)
OKLaboklab(52.57% -0.0885 0.0839)
OKLCHoklch(52.57% 0.122 136.5)
XYZxyz(10.0314, 15.4476, 4.9352)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A2D #602D7A
analogous
#6E7A2D #477A2D #2D7A39
triadic
#477A2D #2D477A #7A2D47
tetradic
#477A2D #2D6E7A #602D7A #7A392D
square
#477A2D #2D6E7A #602D7A #7A392D
split-complementary
#477A2D #392D7A #7A2D6E
monochromatic
#13210C #2D4D1D #477A2D #61A73D #80C45E

Accessibility & contrast

On white

5.13
#477A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#477A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A2D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A2D#FFFFFF#000000##FFFFFF
##477A2D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#45766A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477a2d;
/* rgb */ color: rgb(71, 122, 45);
/* oklch */ color: oklch(52.6% 0.122 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ea169',
    500: '#477a2d',
    950: '#000000',
  },
}
SCSS
$custom: #477a2d;
$custom-light: #7ea169;
$custom-dark: #000000;
JSON
{
  "hex": "#477a2d",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 99.74,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.12194,
    "h": 136.5
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#477A2D
secondary
#8F59AA
accent
#52D6A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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