#4E7528#4E7528

#4E7528 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.115 H 132.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E7528
RGBrgb(78, 117, 40)
HSLhsl(90, 49%, 31%)
HSVhsv(90, 66%, 46%)
CMYKcmyk(33.3%, 0%, 65.8%, 54.1%)
CIE-LABlab(44.93, -27.51, 37.04)
CIE-LCHlch(44.93, 46.13, 126.60°)
OKLaboklab(51.6% -0.0771 0.0854)
OKLCHoklch(51.6% 0.115 132.1)
XYZxyz(9.8860, 14.4951, 4.2840)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7528 #4F2875
analogous
#747528 #4E7528 #287528
triadic
#4E7528 #284E75 #75284E
tetradic
#4E7528 #287475 #4F2875 #752828
square
#4E7528 #287475 #4F2875 #752828
split-complementary
#4E7528 #282875 #752874
monochromatic
#111A09 #304718 #4E7528 #6CA338 #8BC453

Accessibility & contrast

On white

5.39
#4E7528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4E7528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7528
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7528#FFFFFF#000000##FFFFFF
##4E75281.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1F
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#4F7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7528;
/* rgb */ color: rgb(78, 117, 40);
/* oklch */ color: oklch(51.6% 0.115 132.1);
Tailwind
colors: {
  custom: {
    50: '#829d66',
    500: '#4e7528',
    950: '#000000',
  },
}
SCSS
$custom: #4e7528;
$custom-light: #829d66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7528",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 90.39,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.11506,
    "h": 132.1
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

primary
#4E7528
secondary
#7D52A7
accent
#4FD995
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7528

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

Preview Lab → · Contrast checker → · Palette generator →

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