#477C25#477C25

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

Color values

HEX#477C25
RGBrgb(71, 124, 37)
HSLhsl(97, 54%, 32%)
HSVhsv(97, 70%, 49%)
CMYKcmyk(42.7%, 0%, 70.2%, 51.4%)
CIE-LABlab(46.83, -33.67, 40.31)
CIE-LCHlch(46.83, 52.52, 129.87°)
OKLaboklab(53.03% -0.0937 0.092)
OKLCHoklch(53.03% 0.131 135.5)
XYZxyz(10.1399, 15.8879, 4.2823)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C25 #5A257C
analogous
#737C25 #477C25 #257C2F
triadic
#477C25 #25477C #7C2547
tetradic
#477C25 #25737C #5A257C #7C2F25
square
#477C25 #25737C #5A257C #7C2F25
split-complementary
#477C25 #2F257C #7C2573
monochromatic
#111E09 #2C4D17 #477C25 #62AB33 #80CB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477C25#FFFFFF#000000##FFFFFF
##477C251.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)
#817219
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#45776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c25;
/* rgb */ color: rgb(71, 124, 37);
/* oklch */ color: oklch(53.0% 0.131 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa264',
    500: '#477c25',
    950: '#000000',
  },
}
SCSS
$custom: #477c25;
$custom-light: #7fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#477c25",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 96.552,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.13131,
    "h": 135.5
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#477C25
secondary
#894FAE
accent
#4ADDA4
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477C25

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

Preview Lab → · Contrast checker → · Palette generator →

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