#477E25#477E25

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

Color values

HEX#477E25
RGBrgb(71, 126, 37)
HSLhsl(97, 55%, 32%)
HSVhsv(97, 71%, 49%)
CMYKcmyk(43.7%, 0%, 70.6%, 50.6%)
CIE-LABlab(47.49, -34.56, 41.00)
CIE-LCHlch(47.49, 53.62, 130.12°)
OKLaboklab(53.57% -0.0961 0.0935)
OKLCHoklch(53.57% 0.134 135.8)
XYZxyz(10.3931, 16.3943, 4.3667)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E25 #5C257E
analogous
#747E25 #477E25 #257E30
triadic
#477E25 #25477E #7E2547
tetradic
#477E25 #25747E #5C257E #7E3025
square
#477E25 #25747E #5C257E #7E3025
split-complementary
#477E25 #30257E #7E2574
monochromatic
#121F09 #2C4F17 #477E25 #62AD33 #80CC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477E25#FFFFFF#000000##FFFFFF
##477E251.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)
#837418
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#45796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e25;
/* rgb */ color: rgb(71, 126, 37);
/* oklch */ color: oklch(53.6% 0.134 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa465',
    500: '#477e25',
    950: '#000000',
  },
}
SCSS
$custom: #477e25;
$custom-light: #7fa465;
$custom-dark: #000000;
JSON
{
  "hex": "#477e25",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 97.079,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.13406,
    "h": 135.8
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#477E25
secondary
#8B4FB0
accent
#4ADEA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E25

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

Preview Lab → · Contrast checker → · Palette generator →

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