#47781B#47781B

#47781B is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.9% C 0.133 H 133.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#47781B
RGBrgb(71, 120, 27)
HSLhsl(92, 63%, 29%)
HSVhsv(92, 78%, 47%)
CMYKcmyk(40.8%, 0%, 77.5%, 52.9%)
CIE-LABlab(45.43, -32.64, 42.92)
CIE-LCHlch(45.43, 53.92, 127.25°)
OKLaboklab(51.86% -0.0917 0.096)
OKLCHoklch(51.86% 0.133 133.7)
XYZxyz(9.5127, 14.8512, 3.4020)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47781B #4C1B78
analogous
#76781B #47781B #1B781E
triadic
#47781B #1B4778 #781B47
tetradic
#47781B #1B7678 #4C1B78 #781E1B
square
#47781B #1B7678 #4C1B78 #781E1B
split-complementary
#47781B #1E1B78 #781B76
monochromatic
#0F1906 #294610 #47781B #65AA26 #83D33B

Accessibility & contrast

On white

5.29
#47781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#47781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47781B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47781B#FFFFFF#000000##FFFFFF
##47781B1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#477366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #47781b;
/* rgb */ color: rgb(71, 120, 27);
/* oklch */ color: oklch(51.9% 0.133 133.7);
Tailwind
colors: {
  custom: {
    50: '#7f9f5f',
    500: '#47781b',
    950: '#000000',
  },
}
SCSS
$custom: #47781b;
$custom-light: #7f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#47781b",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 91.613,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.13273,
    "h": 133.7
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#47781B
secondary
#7A43AC
accent
#41E698
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #47781B

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

Preview Lab → · Contrast checker → · Palette generator →

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