#4E772F#4E772F

#4E772F is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.112 H 133.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4E772F
RGBrgb(78, 119, 47)
HSLhsl(94, 43%, 33%)
HSVhsv(94, 61%, 47%)
CMYKcmyk(34.5%, 0%, 60.5%, 53.3%)
CIE-LABlab(45.66, -27.77, 34.46)
CIE-LCHlch(45.66, 44.26, 128.86°)
OKLaboklab(52.21% -0.0772 0.0808)
OKLCHoklch(52.21% 0.112 133.7)
XYZxyz(10.2516, 15.0182, 5.0474)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E772F #582F77
analogous
#72772F #4E772F #2F7734
triadic
#4E772F #2F4E77 #772F4E
tetradic
#4E772F #2F7277 #582F77 #77342F
square
#4E772F #2F7277 #582F77 #77342F
split-complementary
#4E772F #342F77 #772F72
monochromatic
#141F0C #314B1E #4E772F #6BA340 #8AC060

Accessibility & contrast

On white

5.25
#4E772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4E772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E772F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E772F#FFFFFF#000000##FFFFFF
##4E772F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#4E7367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e772f;
/* rgb */ color: rgb(78, 119, 47);
/* oklch */ color: oklch(52.2% 0.112 133.7);
Tailwind
colors: {
  custom: {
    50: '#829e6a',
    500: '#4e772f',
    950: '#000000',
  },
}
SCSS
$custom: #4e772f;
$custom-light: #829e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e772f",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 94.167,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.11172,
    "h": 133.7
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#4E772F
secondary
#865BA7
accent
#55D39D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E772F

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

Preview Lab → · Contrast checker → · Palette generator →

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