#477B1D#477B1D

#477B1D is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.135 H 134.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#477B1D
RGBrgb(71, 123, 29)
HSLhsl(93, 62%, 30%)
HSVhsv(93, 76%, 48%)
CMYKcmyk(42.3%, 0%, 76.4%, 51.8%)
CIE-LABlab(46.44, -33.85, 43.16)
CIE-LCHlch(46.44, 54.85, 128.10°)
OKLaboklab(52.69% -0.0948 0.0968)
OKLCHoklch(52.69% 0.135 134.4)
XYZxyz(9.9031, 15.5937, 3.6502)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B1D #511D7B
analogous
#767B1D #477B1D #1D7B22
triadic
#477B1D #1D477B #7B1D47
tetradic
#477B1D #1D767B #511D7B #7B221D
square
#477B1D #1D767B #511D7B #7B221D
split-complementary
#477B1D #221D7B #7B1D76
monochromatic
#0E1906 #2A4911 #477B1D #64AD29 #81D240

Accessibility & contrast

On white

5.10
#477B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#477B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B1D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B1D#FFFFFF#000000##FFFFFF
##477B1D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b1d;
/* rgb */ color: rgb(71, 123, 29);
/* oklch */ color: oklch(52.7% 0.135 134.4);
Tailwind
colors: {
  custom: {
    50: '#7fa160',
    500: '#477b1d',
    950: '#000000',
  },
}
SCSS
$custom: #477b1d;
$custom-light: #7fa160;
$custom-dark: #000000;
JSON
{
  "hex": "#477b1d",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 93.191,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.13548,
    "h": 134.4
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#477B1D
secondary
#8045AF
accent
#43E59D
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #477B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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