#47771B#47771B

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

Color values

HEX#47771B
RGBrgb(71, 119, 27)
HSLhsl(91, 63%, 29%)
HSVhsv(91, 77%, 47%)
CMYKcmyk(40.3%, 0%, 77.3%, 53.3%)
CIE-LABlab(45.10, -32.19, 42.60)
CIE-LCHlch(45.10, 53.39, 127.08°)
OKLaboklab(51.59% -0.0904 0.0953)
OKLCHoklch(51.59% 0.131 133.5)
XYZxyz(9.3930, 14.6119, 3.3622)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47771B #4B1B77
analogous
#75771B #47771B #1B771D
triadic
#47771B #1B4777 #771B47
tetradic
#47771B #1B7577 #4B1B77 #771D1B
square
#47771B #1B7577 #4B1B77 #771D1B
split-complementary
#47771B #1D1B77 #771B75
monochromatic
#0F1906 #294510 #47771B #65A926 #83D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47771B#FFFFFF#000000##FFFFFF
##47771B1.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)
#7C6D08
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#477265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #47771b;
/* rgb */ color: rgb(71, 119, 27);
/* oklch */ color: oklch(51.6% 0.131 133.5);
Tailwind
colors: {
  custom: {
    50: '#7f9e5f',
    500: '#47771b',
    950: '#000000',
  },
}
SCSS
$custom: #47771b;
$custom-light: #7f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#47771b",
  "rgb": {
    "r": 71,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 91.304,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.13139,
    "h": 133.5
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#47771B
secondary
#7942AB
accent
#42E697
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47771B

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

Preview Lab → · Contrast checker → · Palette generator →

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