#4E771B#4E771B

#4E771B is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.127 H 131.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E771B
RGBrgb(78, 119, 27)
HSLhsl(87, 63%, 29%)
HSVhsv(87, 77%, 47%)
CMYKcmyk(34.5%, 0%, 77.3%, 53.3%)
CIE-LABlab(45.49, -29.48, 43.11)
CIE-LCHlch(45.49, 52.23, 124.37°)
OKLaboklab(52.01% -0.0836 0.0962)
OKLCHoklch(52.01% 0.127 131)
XYZxyz(9.9365, 14.8921, 3.3876)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E771B #441B77
analogous
#77721B #4E771B #20771B
triadic
#4E771B #1B4E77 #771B4E
tetradic
#4E771B #1B7772 #441B77 #771B20
square
#4E771B #1B7772 #441B77 #771B20
split-complementary
#4E771B #1B2077 #721B77
monochromatic
#101906 #2D4510 #4E771B #6FA926 #8ED23A

Accessibility & contrast

On white

5.28
#4E771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E771B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E771B#FFFFFF#000000##FFFFFF
##4E771B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E08
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#507265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e771b;
/* rgb */ color: rgb(78, 119, 27);
/* oklch */ color: oklch(52.0% 0.127 131.0);
Tailwind
colors: {
  custom: {
    50: '#839e5f',
    500: '#4e771b',
    950: '#000000',
  },
}
SCSS
$custom: #4e771b;
$custom-light: #839e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e771b",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 86.739,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.12748,
    "h": 131
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#4E771B
secondary
#7142AB
accent
#42E68B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E771B

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

Preview Lab → · Contrast checker → · Palette generator →

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