#477C21#477C21

#477C21 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.134 H 135.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#477C21
RGBrgb(71, 124, 33)
HSLhsl(95, 58%, 31%)
HSVhsv(95, 73%, 49%)
CMYKcmyk(42.7%, 0%, 73.4%, 51.4%)
CIE-LABlab(46.80, -34.00, 41.95)
CIE-LCHlch(46.80, 54.00, 129.02°)
OKLaboklab(52.99% -0.0949 0.0949)
OKLCHoklch(52.99% 0.134 135)
XYZxyz(10.0805, 15.8642, 3.9695)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C21 #56217C
analogous
#747C21 #477C21 #217C28
triadic
#477C21 #21477C #7C2147
tetradic
#477C21 #21747C #56217C #7C2821
square
#477C21 #21747C #56217C #7C2821
split-complementary
#477C21 #28217C #7C2174
monochromatic
#101B07 #2B4C14 #477C21 #63AC2E #81CF49

Accessibility & contrast

On white

5.03
#477C21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477C21
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C21#FFFFFF#000000##FFFFFF
##477C211.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477c21;
/* rgb */ color: rgb(71, 124, 33);
/* oklch */ color: oklch(53.0% 0.134 135.0);
Tailwind
colors: {
  custom: {
    50: '#7fa262',
    500: '#477c21',
    950: '#000000',
  },
}
SCSS
$custom: #477c21;
$custom-light: #7fa262;
$custom-dark: #000000;
JSON
{
  "hex": "#477c21",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 94.945,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.13419,
    "h": 135
  },
  "luminance": 0.15865
}

Semantic roles & 50–950 ramp

primary
#477C21
secondary
#854AAF
accent
#47E1A1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477C21

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

Preview Lab → · Contrast checker → · Palette generator →

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