#4E7328#4E7328

#4E7328 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.112 H 131.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E7328
RGBrgb(78, 115, 40)
HSLhsl(90, 48%, 30%)
HSVhsv(90, 65%, 45%)
CMYKcmyk(32.2%, 0%, 65.2%, 54.9%)
CIE-LABlab(44.28, -26.53, 36.32)
CIE-LCHlch(44.28, 44.98, 126.15°)
OKLaboklab(51.07% -0.0744 0.0839)
OKLCHoklch(51.07% 0.112 131.6)
XYZxyz(9.6555, 14.0341, 4.2072)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7328 #4D2873
analogous
#737228 #4E7328 #287328
triadic
#4E7328 #284E73 #73284E
tetradic
#4E7328 #287372 #4D2873 #732828
square
#4E7328 #287372 #4D2873 #732828
split-complementary
#4E7328 #282873 #722873
monochromatic
#101808 #2F4618 #4E7328 #6DA038 #8BC352

Accessibility & contrast

On white

5.52
#4E7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7328
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7328#FFFFFF#000000##FFFFFF
##4E73281.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#4F6E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7328;
/* rgb */ color: rgb(78, 115, 40);
/* oklch */ color: oklch(51.1% 0.112 131.6);
Tailwind
colors: {
  custom: {
    50: '#829b65',
    500: '#4e7328',
    950: '#000000',
  },
}
SCSS
$custom: #4e7328;
$custom-light: #829b65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7328",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 89.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51065,
    "c": 0.11215,
    "h": 131.6
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#4E7328
secondary
#7B52A5
accent
#50D893
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7328

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

Preview Lab → · Contrast checker → · Palette generator →

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