#477927#477927

#477927 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.126 H 135.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#477927
RGBrgb(71, 121, 39)
HSLhsl(97, 51%, 31%)
HSVhsv(97, 68%, 47%)
CMYKcmyk(41.3%, 0%, 67.8%, 52.5%)
CIE-LABlab(45.85, -32.13, 38.38)
CIE-LCHlch(45.85, 50.06, 129.94°)
OKLaboklab(52.24% -0.0893 0.0882)
OKLCHoklch(52.24% 0.126 135.4)
XYZxyz(9.8019, 15.1603, 4.3288)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477927 #592779
analogous
#707927 #477927 #277930
triadic
#477927 #274779 #792747
tetradic
#477927 #277079 #592779 #793027
square
#477927 #277079 #592779 #793027
split-complementary
#477927 #302779 #792770
monochromatic
#111C09 #2C4B18 #477927 #62A736 #80C853

Accessibility & contrast

On white

5.21
#477927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#477927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477927
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477927#FFFFFF#000000##FFFFFF
##4779271.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#776B2E
Tritanopia (blue-blind)
#467468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477927;
/* rgb */ color: rgb(71, 121, 39);
/* oklch */ color: oklch(52.2% 0.126 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ea065',
    500: '#477927',
    950: '#000000',
  },
}
SCSS
$custom: #477927;
$custom-light: #7ea065;
$custom-dark: #000000;
JSON
{
  "hex": "#477927",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 96.585,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.12558,
    "h": 135.4
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#477927
secondary
#8851AB
accent
#4DDBA3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #477927

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

Preview Lab → · Contrast checker → · Palette generator →

#477927 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva