#47771F#47771F

#47771F is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.129 H 133.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#47771F
RGBrgb(71, 119, 31)
HSLhsl(93, 59%, 29%)
HSVhsv(93, 74%, 47%)
CMYKcmyk(40.3%, 0%, 73.9%, 53.3%)
CIE-LABlab(45.13, -31.90, 41.06)
CIE-LCHlch(45.13, 52.00, 127.84°)
OKLaboklab(51.62% -0.0893 0.0927)
OKLCHoklch(51.62% 0.129 133.9)
XYZxyz(9.4425, 14.6317, 3.6227)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47771F #4F1F77
analogous
#73771F #47771F #1F7723
triadic
#47771F #1F4777 #771F47
tetradic
#47771F #1F7377 #4F1F77 #77231F
square
#47771F #1F7377 #4F1F77 #77231F
split-complementary
#47771F #231F77 #771F73
monochromatic
#0E1806 #2A4612 #47771F #64A82C #82CE43

Accessibility & contrast

On white

5.35
#47771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#47771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47771F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47771F#FFFFFF#000000##FFFFFF
##47771F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#477266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #47771f;
/* rgb */ color: rgb(71, 119, 31);
/* oklch */ color: oklch(51.6% 0.129 133.9);
Tailwind
colors: {
  custom: {
    50: '#7f9e61',
    500: '#47771f',
    950: '#000000',
  },
}
SCSS
$custom: #47771f;
$custom-light: #7f9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#47771f",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 92.727,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.12877,
    "h": 133.9
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#47771F
secondary
#7D47AB
accent
#46E29B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47771F

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

Preview Lab → · Contrast checker → · Palette generator →

#47771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva