#477F26#477F26

#477F26 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.135 H 136.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#477F26
RGBrgb(71, 127, 38)
HSLhsl(98, 54%, 32%)
HSVhsv(98, 70%, 50%)
CMYKcmyk(44.1%, 0%, 70.1%, 50.2%)
CIE-LABlab(47.83, -34.91, 40.93)
CIE-LCHlch(47.83, 53.80, 130.46°)
OKLaboklab(53.85% -0.097 0.0935)
OKLCHoklch(53.85% 0.135 136.1)
XYZxyz(10.5375, 16.6577, 4.4934)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F26 #5E267F
analogous
#737F26 #477F26 #267F32
triadic
#477F26 #26477F #7F2647
tetradic
#477F26 #26737F #5E267F #7F3226
square
#477F26 #26737F #5E267F #7F3226
split-complementary
#477F26 #32267F #7F2673
monochromatic
#12210A #2D5018 #477F26 #61AE34 #80CC54

Accessibility & contrast

On white

4.85
#477F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#477F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F26
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F26#FFFFFF#000000##FFFFFF
##477F261.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847419
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#457A6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f26;
/* rgb */ color: rgb(71, 127, 38);
/* oklch */ color: oklch(53.8% 0.135 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa465',
    500: '#477f26',
    950: '#000000',
  },
}
SCSS
$custom: #477f26;
$custom-light: #7fa465;
$custom-dark: #000000;
JSON
{
  "hex": "#477f26",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 97.753,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.13469,
    "h": 136.1
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#477F26
secondary
#8D51B0
accent
#4ADDA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477F26

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

Preview Lab → · Contrast checker → · Palette generator →

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