#477E26#477E26

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

Color values

HEX#477E26
RGBrgb(71, 126, 38)
HSLhsl(98, 54%, 32%)
HSVhsv(98, 70%, 49%)
CMYKcmyk(43.7%, 0%, 69.8%, 50.6%)
CIE-LABlab(47.50, -34.47, 40.58)
CIE-LCHlch(47.50, 53.25, 130.35°)
OKLaboklab(53.58% -0.0958 0.0927)
OKLCHoklch(53.58% 0.133 135.9)
XYZxyz(10.4090, 16.4007, 4.4505)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E26 #5D267E
analogous
#737E26 #477E26 #267E31
triadic
#477E26 #26477E #7E2647
tetradic
#477E26 #26737E #5D267E #7E3126
square
#477E26 #26737E #5D267E #7E3126
split-complementary
#477E26 #31267E #7E2673
monochromatic
#12200A #2D4F18 #477E26 #61AD34 #80CB53

Accessibility & contrast

On white

4.91
#477E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477E26
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E26#FFFFFF#000000##FFFFFF
##477E261.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e26;
/* rgb */ color: rgb(71, 126, 38);
/* oklch */ color: oklch(53.6% 0.133 135.9);
Tailwind
colors: {
  custom: {
    50: '#7fa465',
    500: '#477e26',
    950: '#000000',
  },
}
SCSS
$custom: #477e26;
$custom-light: #7fa465;
$custom-dark: #000000;
JSON
{
  "hex": "#477e26",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 97.5,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.13331,
    "h": 135.9
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#477E26
secondary
#8C50B0
accent
#4BDDA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E26

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

Preview Lab → · Contrast checker → · Palette generator →

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