#477D23#477D23

#477D23 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.134 H 135.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#477D23
RGBrgb(71, 125, 35)
HSLhsl(96, 56%, 31%)
HSVhsv(96, 72%, 49%)
CMYKcmyk(43.2%, 0%, 72%, 51%)
CIE-LABlab(47.14, -34.28, 41.49)
CIE-LCHlch(47.14, 53.82, 129.57°)
OKLaboklab(53.28% -0.0955 0.0942)
OKLCHoklch(53.28% 0.134 135.4)
XYZxyz(10.2353, 16.1276, 4.1634)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477D23 #59237D
analogous
#747D23 #477D23 #237D2C
triadic
#477D23 #23477D #7D2347
tetradic
#477D23 #23747D #59237D #7D2C23
square
#477D23 #23747D #59237D #7D2C23
split-complementary
#477D23 #2C237D #7D2374
monochromatic
#111D08 #2C4D16 #477D23 #62AD30 #80CD4D

Accessibility & contrast

On white

4.97
#477D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#477D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477D23
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477D23#FFFFFF#000000##FFFFFF
##477D231.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#45786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #477d23;
/* rgb */ color: rgb(71, 125, 35);
/* oklch */ color: oklch(53.3% 0.134 135.4);
Tailwind
colors: {
  custom: {
    50: '#7fa363',
    500: '#477d23',
    950: '#000000',
  },
}
SCSS
$custom: #477d23;
$custom-light: #7fa363;
$custom-dark: #000000;
JSON
{
  "hex": "#477d23",
  "rgb": {
    "r": 71,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 96,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.13415,
    "h": 135.4
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#477D23
secondary
#884CAF
accent
#48E0A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477D23

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

Preview Lab → · Contrast checker → · Palette generator →

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