#477C1E#477C1E

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

Color values

HEX#477C1E
RGBrgb(71, 124, 30)
HSLhsl(94, 61%, 30%)
HSVhsv(94, 76%, 49%)
CMYKcmyk(42.7%, 0%, 75.8%, 51.4%)
CIE-LABlab(46.77, -34.22, 43.11)
CIE-LCHlch(46.77, 55.04, 128.44°)
OKLaboklab(52.97% -0.0957 0.0969)
OKLCHoklch(52.97% 0.136 134.7)
XYZxyz(10.0403, 15.8481, 3.7580)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C1E #531E7C
analogous
#767C1E #477C1E #1E7C24
triadic
#477C1E #1E477C #7C1E47
tetradic
#477C1E #1E767C #531E7C #7C241E
square
#477C1E #1E767C #531E7C #7C241E
split-complementary
#477C1E #241E7C #7C1E76
monochromatic
#0F1906 #2B4B12 #477C1E #63AD2A #81D143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477C1E#FFFFFF#000000##FFFFFF
##477C1E1.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)
#81720C
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c1e;
/* rgb */ color: rgb(71, 124, 30);
/* oklch */ color: oklch(53.0% 0.136 134.7);
Tailwind
colors: {
  custom: {
    50: '#7fa261',
    500: '#477c1e',
    950: '#000000',
  },
}
SCSS
$custom: #477c1e;
$custom-light: #7fa261;
$custom-dark: #000000;
JSON
{
  "hex": "#477c1e",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 93.83,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.13618,
    "h": 134.7
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#477C1E
secondary
#8246AF
accent
#44E49E
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #477C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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