#477F1C#477F1C

#477F1C is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.141 H 134.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#477F1C
RGBrgb(71, 127, 28)
HSLhsl(94, 64%, 30%)
HSVhsv(94, 78%, 50%)
CMYKcmyk(44.1%, 0%, 78%, 50.2%)
CIE-LABlab(47.75, -35.67, 44.82)
CIE-LCHlch(47.75, 57.28, 128.52°)
OKLaboklab(53.77% -0.0998 0.1001)
OKLCHoklch(53.77% 0.141 134.9)
XYZxyz(10.3973, 16.6016, 3.7550)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477F1C #541C7F
analogous
#797F1C #477F1C #1C7F22
triadic
#477F1C #1C477F #7F1C47
tetradic
#477F1C #1C797F #541C7F #7F221C
square
#477F1C #1C797F #541C7F #7F221C
split-complementary
#477F1C #221C7F #7F1C79
monochromatic
#0F1B06 #2B4D11 #477F1C #63B127 #81D540

Accessibility & contrast

On white

4.86
#477F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#477F1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477F1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477F1C#FFFFFF#000000##FFFFFF
##477F1C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#7C7026
Tritanopia (blue-blind)
#467A6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477f1c;
/* rgb */ color: rgb(71, 127, 28);
/* oklch */ color: oklch(53.8% 0.141 134.9);
Tailwind
colors: {
  custom: {
    50: '#80a460',
    500: '#477f1c',
    950: '#000000',
  },
}
SCSS
$custom: #477f1c;
$custom-light: #80a460;
$custom-dark: #000000;
JSON
{
  "hex": "#477f1c",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 93.939,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.14136,
    "h": 134.9
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#477F1C
secondary
#8344B3
accent
#41E79F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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