#477C2C#477C2C

#477C2C is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.126 H 136.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#477C2C
RGBrgb(71, 124, 44)
HSLhsl(100, 48%, 33%)
HSVhsv(100, 65%, 49%)
CMYKcmyk(42.7%, 0%, 64.5%, 51.4%)
CIE-LABlab(46.89, -33.01, 37.21)
CIE-LCHlch(46.89, 49.74, 131.58°)
OKLaboklab(53.1% -0.0913 0.0864)
OKLCHoklch(53.1% 0.126 136.6)
XYZxyz(10.2605, 15.9362, 4.9177)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C2C #612C7C
analogous
#6F7C2C #477C2C #2C7C39
triadic
#477C2C #2C477C #7C2C47
tetradic
#477C2C #2C6F7C #612C7C #7C392C
square
#477C2C #2C6F7C #612C7C #7C392C
split-complementary
#477C2C #392C7C #7C2C6F
monochromatic
#13220C #2D4F1C #477C2C #61A93C #80C55D

Accessibility & contrast

On white

5.02
#477C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#477C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C2C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C2C#FFFFFF#000000##FFFFFF
##477C2C1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#45786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c2c;
/* rgb */ color: rgb(71, 124, 44);
/* oklch */ color: oklch(53.1% 0.126 136.6);
Tailwind
colors: {
  custom: {
    50: '#7ea269',
    500: '#477c2c',
    950: '#000000',
  },
}
SCSS
$custom: #477c2c;
$custom-light: #7ea269;
$custom-dark: #000000;
JSON
{
  "hex": "#477c2c",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 99.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.12569,
    "h": 136.6
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#477C2C
secondary
#8F58AC
accent
#51D7AA
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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