#477C1D#477C1D

#477C1D is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.137 H 134.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#477C1D
RGBrgb(71, 124, 29)
HSLhsl(93, 62%, 30%)
HSVhsv(93, 77%, 49%)
CMYKcmyk(42.7%, 0%, 76.6%, 51.4%)
CIE-LABlab(46.77, -34.29, 43.49)
CIE-LCHlch(46.77, 55.38, 128.26°)
OKLaboklab(52.96% -0.096 0.0975)
OKLCHoklch(52.96% 0.137 134.5)
XYZxyz(10.0278, 15.8431, 3.6918)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C1D #521D7C
analogous
#767C1D #477C1D #1D7C23
triadic
#477C1D #1D477C #7C1D47
tetradic
#477C1D #1D767C #521D7C #7C231D
square
#477C1D #1D767C #521D7C #7C231D
split-complementary
#477C1D #231D7C #7C1D76
monochromatic
#0E1906 #2B4A11 #477C1D #63AE29 #81D341

Accessibility & contrast

On white

5.04
#477C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#477C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C1D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C1D#FFFFFF#000000##FFFFFF
##477C1D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720A
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c1d;
/* rgb */ color: rgb(71, 124, 29);
/* oklch */ color: oklch(53.0% 0.137 134.5);
Tailwind
colors: {
  custom: {
    50: '#7fa260',
    500: '#477c1d',
    950: '#000000',
  },
}
SCSS
$custom: #477c1d;
$custom-light: #7fa260;
$custom-dark: #000000;
JSON
{
  "hex": "#477c1d",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 93.474,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.13682,
    "h": 134.5
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#477C1D
secondary
#8145B0
accent
#43E59D
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #477C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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