#477B2A#477B2A

#477B2A is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.8% C 0.126 H 136.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#477B2A
RGBrgb(71, 123, 42)
HSLhsl(99, 49%, 32%)
HSVhsv(99, 66%, 48%)
CMYKcmyk(42.3%, 0%, 65.9%, 51.8%)
CIE-LABlab(46.54, -32.75, 37.76)
CIE-LCHlch(46.54, 49.98, 130.94°)
OKLaboklab(52.81% -0.0908 0.0873)
OKLCHoklch(52.81% 0.126 136.1)
XYZxyz(10.0991, 15.6721, 4.6829)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B2A #5E2A7B
analogous
#6F7B2A #477B2A #2A7B36
triadic
#477B2A #2A477B #7B2A47
tetradic
#477B2A #2A6F7B #5E2A7B #7B362A
square
#477B2A #2A6F7B #5E2A7B #7B362A
split-complementary
#477B2A #362A7B #7B2A6F
monochromatic
#12200B #2D4D1A #477B2A #61A93A #80C659

Accessibility & contrast

On white

5.08
#477B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#477B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B2A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B2A#FFFFFF#000000##FFFFFF
##477B2A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#45776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b2a;
/* rgb */ color: rgb(71, 123, 42);
/* oklch */ color: oklch(52.8% 0.126 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ea167',
    500: '#477b2a',
    950: '#000000',
  },
}
SCSS
$custom: #477b2a;
$custom-light: #7ea167;
$custom-dark: #000000;
JSON
{
  "hex": "#477b2a",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 98.519,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.12595,
    "h": 136.1
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#477B2A
secondary
#8D55AC
accent
#4FD9A7
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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