#477C26#477C26

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

Color values

HEX#477C26
RGBrgb(71, 124, 38)
HSLhsl(97, 53%, 32%)
HSVhsv(97, 69%, 49%)
CMYKcmyk(42.7%, 0%, 69.4%, 51.4%)
CIE-LABlab(46.84, -33.58, 39.88)
CIE-LCHlch(46.84, 52.14, 130.10°)
OKLaboklab(53.04% -0.0934 0.0913)
OKLCHoklch(53.04% 0.131 135.7)
XYZxyz(10.1558, 15.8943, 4.3661)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C26 #5B267C
analogous
#727C26 #477C26 #267C30
triadic
#477C26 #26477C #7C2647
tetradic
#477C26 #26727C #5B267C #7C3026
square
#477C26 #26727C #5B267C #7C3026
split-complementary
#477C26 #30267C #7C2672
monochromatic
#111E09 #2C4D18 #477C26 #62AB34 #80CA52

Accessibility & contrast

On white

5.03
#477C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477C26
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C26#FFFFFF#000000##FFFFFF
##477C261.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#45776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c26;
/* rgb */ color: rgb(71, 124, 38);
/* oklch */ color: oklch(53.0% 0.131 135.7);
Tailwind
colors: {
  custom: {
    50: '#7fa265',
    500: '#477c26',
    950: '#000000',
  },
}
SCSS
$custom: #477c26;
$custom-light: #7fa265;
$custom-dark: #000000;
JSON
{
  "hex": "#477c26",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 96.977,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.13055,
    "h": 135.7
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#477C26
secondary
#8A50AE
accent
#4BDCA5
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C26

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

Preview Lab → · Contrast checker → · Palette generator →

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