#4E7728#4E7728

#4E7728 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.118 H 132.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E7728
RGBrgb(78, 119, 40)
HSLhsl(91, 50%, 31%)
HSVhsv(91, 66%, 47%)
CMYKcmyk(34.5%, 0%, 66.4%, 53.3%)
CIE-LABlab(45.59, -28.47, 37.75)
CIE-LCHlch(45.59, 47.28, 127.02°)
OKLaboklab(52.13% -0.0797 0.0869)
OKLCHoklch(52.13% 0.118 132.5)
XYZxyz(10.1216, 14.9662, 4.3625)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7728 #512877
analogous
#757728 #4E7728 #287729
triadic
#4E7728 #284E77 #77284E
tetradic
#4E7728 #287577 #512877 #772928
square
#4E7728 #287577 #512877 #772928
split-complementary
#4E7728 #292877 #772875
monochromatic
#121B09 #304919 #4E7728 #6CA537 #8BC554

Accessibility & contrast

On white

5.26
#4E7728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E7728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7728
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7728#FFFFFF#000000##FFFFFF
##4E77281.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#4F7267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7728;
/* rgb */ color: rgb(78, 119, 40);
/* oklch */ color: oklch(52.1% 0.118 132.5);
Tailwind
colors: {
  custom: {
    50: '#839e66',
    500: '#4e7728',
    950: '#000000',
  },
}
SCSS
$custom: #4e7728;
$custom-light: #839e66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7728",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 91.139,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.11795,
    "h": 132.5
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#4E7728
secondary
#7F52A9
accent
#4FD997
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7728

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

Preview Lab → · Contrast checker → · Palette generator →

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