#477E27#477E27

#477E27 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.133 H 136.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#477E27
RGBrgb(71, 126, 39)
HSLhsl(98, 53%, 32%)
HSVhsv(98, 69%, 49%)
CMYKcmyk(43.7%, 0%, 69%, 50.6%)
CIE-LABlab(47.50, -34.38, 40.15)
CIE-LCHlch(47.50, 52.86, 130.57°)
OKLaboklab(53.59% -0.0955 0.092)
OKLCHoklch(53.59% 0.133 136.1)
XYZxyz(10.4253, 16.4072, 4.5366)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E27 #5E277E
analogous
#737E27 #477E27 #277E33
triadic
#477E27 #27477E #7E2747
tetradic
#477E27 #27737E #5E277E #7E3327
square
#477E27 #27737E #5E277E #7E3327
split-complementary
#477E27 #33277E #7E2773
monochromatic
#12210A #2D4F19 #477E27 #61AD35 #80CA55

Accessibility & contrast

On white

4.90
#477E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#477E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E27
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E27#FFFFFF#000000##FFFFFF
##477E271.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741B
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e27;
/* rgb */ color: rgb(71, 126, 39);
/* oklch */ color: oklch(53.6% 0.133 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa466',
    500: '#477e27',
    950: '#000000',
  },
}
SCSS
$custom: #477e27;
$custom-light: #7fa466;
$custom-dark: #000000;
JSON
{
  "hex": "#477e27",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 97.931,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.13256,
    "h": 136.1
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#477E27
secondary
#8D52AF
accent
#4CDCA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E27

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

Preview Lab → · Contrast checker → · Palette generator →

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