#4B771A#4B771A

#4B771A is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.130 H 132.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4B771A
RGBrgb(75, 119, 26)
HSLhsl(88, 64%, 28%)
HSVhsv(88, 78%, 47%)
CMYKcmyk(37%, 0%, 78.2%, 53.3%)
CIE-LABlab(45.31, -30.73, 43.24)
CIE-LCHlch(45.31, 53.05, 125.39°)
OKLaboklab(51.82% -0.0868 0.0964)
OKLCHoklch(51.82% 0.13 132)
XYZxyz(9.6848, 14.7637, 3.3165)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B771A #461A77
analogous
#77741A #4B771A #1C771A
triadic
#4B771A #1A4B77 #771A4B
tetradic
#4B771A #1A7774 #461A77 #771A1C
square
#4B771A #1A7774 #461A77 #771A1C
split-complementary
#4B771A #1A1C77 #741A77
monochromatic
#101905 #2B450F #4B771A #6BA925 #8AD338

Accessibility & contrast

On white

5.31
#4B771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4B771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B771A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B771A#FFFFFF#000000##FFFFFF
##4B771A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#4C7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b771a;
/* rgb */ color: rgb(75, 119, 26);
/* oklch */ color: oklch(51.8% 0.130 132.0);
Tailwind
colors: {
  custom: {
    50: '#819e5e',
    500: '#4b771a',
    950: '#000000',
  },
}
SCSS
$custom: #4b771a;
$custom-light: #819e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b771a",
  "rgb": {
    "r": 75,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 88.387,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.12977,
    "h": 132
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#4B771A
secondary
#7441AC
accent
#41E78F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B771A

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

Preview Lab → · Contrast checker → · Palette generator →

#4B771A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva