#47771C#47771C

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

Color values

HEX#47771C
RGBrgb(71, 119, 28)
HSLhsl(92, 62%, 29%)
HSVhsv(92, 76%, 47%)
CMYKcmyk(40.3%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.10, -32.12, 42.22)
CIE-LCHlch(45.10, 53.05, 127.26°)
OKLaboklab(51.6% -0.0902 0.0947)
OKLCHoklch(51.6% 0.131 133.6)
XYZxyz(9.4048, 14.6166, 3.4241)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47771C #4C1C77
analogous
#75771C #47771C #1C771E
triadic
#47771C #1C4777 #771C47
tetradic
#47771C #1C7577 #4C1C77 #771E1C
square
#47771C #1C7577 #4C1C77 #771E1C
split-complementary
#47771C #1E1C77 #771C75
monochromatic
#0F1906 #294510 #47771C #65A928 #83D13C

Accessibility & contrast

On white

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

On black

3.92
#47771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##47771C#FFFFFF#000000##FFFFFF
##47771C1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#477265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #47771c;
/* rgb */ color: rgb(71, 119, 28);
/* oklch */ color: oklch(51.6% 0.131 133.6);
Tailwind
colors: {
  custom: {
    50: '#7f9e5f',
    500: '#47771c',
    950: '#000000',
  },
}
SCSS
$custom: #47771c;
$custom-light: #7f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#47771c",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 91.648,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.13076,
    "h": 133.6
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#47771C
secondary
#7A44AB
accent
#43E598
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47771C

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

Preview Lab → · Contrast checker → · Palette generator →

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