#477A25#477A25

#477A25 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.129 H 135.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#477A25
RGBrgb(71, 122, 37)
HSLhsl(96, 53%, 31%)
HSVhsv(96, 70%, 48%)
CMYKcmyk(41.8%, 0%, 69.7%, 52.2%)
CIE-LABlab(46.17, -32.77, 39.61)
CIE-LCHlch(46.17, 51.41, 129.60°)
OKLaboklab(52.49% -0.0912 0.0906)
OKLCHoklch(52.49% 0.129 135.2)
XYZxyz(9.8918, 15.3917, 4.1996)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A25 #58257A
analogous
#717A25 #477A25 #257A2D
triadic
#477A25 #25477A #7A2547
tetradic
#477A25 #25717A #58257A #7A2D25
square
#477A25 #25717A #58257A #7A2D25
split-complementary
#477A25 #2D257A #7A2571
monochromatic
#101C09 #2C4B17 #477A25 #62A933 #80CA50

Accessibility & contrast

On white

5.15
#477A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#477A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A25
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A25#FFFFFF#000000##FFFFFF
##477A251.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7019
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#467569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a25;
/* rgb */ color: rgb(71, 122, 37);
/* oklch */ color: oklch(52.5% 0.129 135.2);
Tailwind
colors: {
  custom: {
    50: '#7fa164',
    500: '#477a25',
    950: '#000000',
  },
}
SCSS
$custom: #477a25;
$custom-light: #7fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#477a25",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 96,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.12854,
    "h": 135.2
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#477A25
secondary
#874EAC
accent
#4BDDA2
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #477A25

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

Preview Lab → · Contrast checker → · Palette generator →

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