#4E771C#4E771C

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

Color values

HEX#4E771C
RGBrgb(78, 119, 28)
HSLhsl(87, 62%, 29%)
HSVhsv(87, 76%, 47%)
CMYKcmyk(34.5%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.49, -29.42, 42.74)
CIE-LCHlch(45.49, 51.88, 124.54°)
OKLaboklab(52.02% -0.0833 0.0956)
OKLCHoklch(52.02% 0.127 131.1)
XYZxyz(9.9482, 14.8968, 3.4496)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E771C #451C77
analogous
#77731C #4E771C #21771C
triadic
#4E771C #1C4E77 #771C4E
tetradic
#4E771C #1C7773 #451C77 #771C21
square
#4E771C #1C7773 #451C77 #771C21
split-complementary
#4E771C #1C2177 #731C77
monochromatic
#101906 #2E4510 #4E771C #6EA928 #8ED13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E771C#FFFFFF#000000##FFFFFF
##4E771C1.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)
#7D6E0A
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#507265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e771c;
/* rgb */ color: rgb(78, 119, 28);
/* oklch */ color: oklch(52.0% 0.127 131.1);
Tailwind
colors: {
  custom: {
    50: '#839e5f',
    500: '#4e771c',
    950: '#000000',
  },
}
SCSS
$custom: #4e771c;
$custom-light: #839e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e771c",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 87.033,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.12685,
    "h": 131.1
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#4E771C
secondary
#7244AB
accent
#43E58C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E771C

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

Preview Lab → · Contrast checker → · Palette generator →

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