#4E7628#4E7628

#4E7628 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.117 H 132.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E7628
RGBrgb(78, 118, 40)
HSLhsl(91, 49%, 31%)
HSVhsv(91, 66%, 46%)
CMYKcmyk(33.9%, 0%, 66.1%, 53.7%)
CIE-LABlab(45.26, -27.99, 37.39)
CIE-LCHlch(45.26, 46.71, 126.82°)
OKLaboklab(51.86% -0.0784 0.0862)
OKLCHoklch(51.86% 0.117 132.3)
XYZxyz(10.0032, 14.7294, 4.3231)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7628 #502876
analogous
#757628 #4E7628 #287629
triadic
#4E7628 #284E76 #76284E
tetradic
#4E7628 #287576 #502876 #762928
square
#4E7628 #287576 #502876 #762928
split-complementary
#4E7628 #292876 #762875
monochromatic
#121B09 #304819 #4E7628 #6CA437 #8BC554

Accessibility & contrast

On white

5.32
#4E7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4E7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7628
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7628#FFFFFF#000000##FFFFFF
##4E76281.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#4F7166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7628;
/* rgb */ color: rgb(78, 118, 40);
/* oklch */ color: oklch(51.9% 0.117 132.3);
Tailwind
colors: {
  custom: {
    50: '#839e66',
    500: '#4e7628',
    950: '#000000',
  },
}
SCSS
$custom: #4e7628;
$custom-light: #839e66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7628",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 90.769,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.11651,
    "h": 132.3
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#4E7628
secondary
#7E52A8
accent
#4FD996
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7628

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

Preview Lab → · Contrast checker → · Palette generator →

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