#477B2C#477B2C

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

Color values

HEX#477B2C
RGBrgb(71, 123, 44)
HSLhsl(99, 47%, 33%)
HSVhsv(99, 64%, 48%)
CMYKcmyk(42.3%, 0%, 64.2%, 51.8%)
CIE-LABlab(46.56, -32.55, 36.84)
CIE-LCHlch(46.56, 49.16, 131.46°)
OKLaboklab(52.83% -0.0901 0.0856)
OKLCHoklch(52.83% 0.124 136.5)
XYZxyz(10.1358, 15.6868, 4.8762)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B2C #602C7B
analogous
#6E7B2C #477B2C #2C7B39
triadic
#477B2C #2C477B #7B2C47
tetradic
#477B2C #2C6E7B #602C7B #7B392C
square
#477B2C #2C6E7B #602C7B #7B392C
split-complementary
#477B2C #392C7B #7B2C6E
monochromatic
#13210C #2D4E1C #477B2C #61A83C #80C55D

Accessibility & contrast

On white

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

On black

4.14
#477B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477B2C#FFFFFF#000000##FFFFFF
##477B2C1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477b2c;
/* rgb */ color: rgb(71, 123, 44);
/* oklch */ color: oklch(52.8% 0.124 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ea169',
    500: '#477b2c',
    950: '#000000',
  },
}
SCSS
$custom: #477b2c;
$custom-light: #7ea169;
$custom-dark: #000000;
JSON
{
  "hex": "#477b2c",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 99.494,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.12426,
    "h": 136.5
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#477B2C
secondary
#8F58AB
accent
#51D7A9
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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