#477C27#477C27

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

Color values

HEX#477C27
RGBrgb(71, 124, 39)
HSLhsl(97, 52%, 32%)
HSVhsv(97, 69%, 49%)
CMYKcmyk(42.7%, 0%, 68.5%, 51.4%)
CIE-LABlab(46.84, -33.49, 39.45)
CIE-LCHlch(46.84, 51.75, 130.33°)
OKLaboklab(53.05% -0.093 0.0905)
OKLCHoklch(53.05% 0.13 135.8)
XYZxyz(10.1721, 15.9008, 4.4522)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C27 #5C277C
analogous
#727C27 #477C27 #277C32
triadic
#477C27 #27477C #7C2747
tetradic
#477C27 #27727C #5C277C #7C3227
square
#477C27 #27727C #5C277C #7C3227
split-complementary
#477C27 #32277C #7C2772
monochromatic
#121F0A #2C4D18 #477C27 #62AB36 #80C954

Accessibility & contrast

On white

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

On black

4.18
#477C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477C27#FFFFFF#000000##FFFFFF
##477C271.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721C
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#45776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c27;
/* rgb */ color: rgb(71, 124, 39);
/* oklch */ color: oklch(53.0% 0.130 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa266',
    500: '#477c27',
    950: '#000000',
  },
}
SCSS
$custom: #477c27;
$custom-light: #7fa266;
$custom-dark: #000000;
JSON
{
  "hex": "#477c27",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 97.412,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.12979,
    "h": 135.8
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#477C27
secondary
#8B51AE
accent
#4CDCA6
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C27

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

Preview Lab → · Contrast checker → · Palette generator →

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