#477C1C#477C1C

#477C1C 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#477C1C
RGBrgb(71, 124, 28)
HSLhsl(93, 63%, 30%)
HSVhsv(93, 77%, 49%)
CMYKcmyk(42.7%, 0%, 77.4%, 51.4%)
CIE-LABlab(46.76, -34.36, 43.85)
CIE-LCHlch(46.76, 55.71, 128.08°)
OKLaboklab(52.96% -0.0962 0.0981)
OKLCHoklch(52.96% 0.137 134.5)
XYZxyz(10.0156, 15.8382, 3.6277)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C1C #511C7C
analogous
#777C1C #477C1C #1C7C21
triadic
#477C1C #1C477C #7C1C47
tetradic
#477C1C #1C777C #511C7C #7C211C
square
#477C1C #1C777C #511C7C #7C211C
split-complementary
#477C1C #211C7C #7C1C77
monochromatic
#0E1906 #2A4A11 #477C1C #64AE27 #81D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477C1C#FFFFFF#000000##FFFFFF
##477C1C1.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)
#817207
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c1c;
/* rgb */ color: rgb(71, 124, 28);
/* oklch */ color: oklch(53.0% 0.137 134.5);
Tailwind
colors: {
  custom: {
    50: '#7fa260',
    500: '#477c1c',
    950: '#000000',
  },
}
SCSS
$custom: #477c1c;
$custom-light: #7fa260;
$custom-dark: #000000;
JSON
{
  "hex": "#477c1c",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 93.125,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.13743,
    "h": 134.5
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#477C1C
secondary
#8044B0
accent
#42E69C
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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